Maintaining Ownership When Copying Files and Directories

Jim Canfield jcanfield at tshmail.com
Tue Apr 3 18:02:24 UTC 2007


Matthijs.Sneijders at corusgroup.com wrote:
> i always like:
> find . -depth -print  |cpio -pdmuv "destination"
>
> but also
> rsync -azu source target
>
>   
I like it too.  For "safer" file level compression use you could also 
use afio:

find . -depth -print  |afio -o -v -Z "destination"


-Jim





More information about the redhat-list mailing list