Deryk Barker wrote:
>
> Thus spake Russell (rjshaw@iprimus.com.au):
>
> > Hi,
> >
> > I want to copy everything from hda2 to hdd2, where
> > hdd2 is mounted as /mnt on hda2.
> >
> > I think a cp recursive would cause a loop, so can i
> > exclude /mnt easily, or would i need to make a bash
> > script?
>
> Use the -x ('stay on this filesystem') flag
Thanks, that's one i missed reading the man page.