Copy EVERYTHING

Cameron Simpson cs at zip.com.au
Tue Dec 5 02:37:19 UTC 2006


On 05Dec2006 10:18, Hadders <fedora at workingwithit.com> wrote:
| Then I'll mount the old partitions and run the following command I which 
| got from an earlier email
| http://pj.freefaculty.org/cgi-bin/twiki/view.pl/Linuxtips/CopyEntireFilesystemsExactly
| 
| > cd /oldpart;  find . -xdev | cpio -padm /newpart
| 
| Is it really as easy as that to copy everything?

Yes. Rsync will do it too, and variations on the above command using tar
instead of cpio.  But anything that copies every file and directory and
preserves all the ownerships and permissions will do.
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

Reality is that which refuses to go away when I stop believing in it.
- Phillip K. Dick




More information about the fedora-list mailing list