Re: Maintaining Ownership When Copying Files and Directories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you both for your replies.

I see the reference to the destination (using cpio/afio), but how am I establishing the source, by running the command from the source?

Thank you.


----- Original Message ----
From: Jim Canfield <jcanfield@xxxxxxxxxxx>
To: General Red Hat Linux discussion list <redhat-list@xxxxxxxxxx>
Sent: Tuesday, April 3, 2007 2:02:24 PM
Subject: Re: Maintaining Ownership When Copying Files and Directories


Matthijs.Sneijders@xxxxxxxxxxxxxx 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


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


 
____________________________________________________________________________________
Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux