Swapping Drives...
Duane Attaway
dattaway at dattaway.org
Mon Jul 21 21:50:51 CDT 2003
On Mon, 21 Jul 2003, Steven Elling wrote:
> cp -a /home/* /home/me/temp
> or
> cp -dpR /home/* /home/me/temp
>
> I just tested the recursive copy and it will do this. So, don't mount the
> directory you want to copy to underneath the location your are copying
> from.
I believe cp's -x option should do the trick quite nicely:
-x, --one-file-system
Skip subdirectories that are on different filesystems from
the one that the copy started on.
--
http://dattaway.org
More information about the Kclug
mailing list