comparing find with rsync (not urgent but interesting)

Asked by nokangaroo on 2009-10-04

I am just working on creating a separate home partition, but I have a separate question to ask in a new thread. I just compared the output of the

find . -depth -print0 | cpio --null --sparse -pvd

command with the output of the rsync -rtovxHAXlgD command that I use for backups, and the output is identical except that the .gvfs file is not copied (which is due to the x option. The .gvfs file is empty on the Mac). Is there any reason for not using rsync in the procedure given on the psychocats page? This is really just idle curiosity, but if you work with Linux you should know about these things.

Question information

English Edit question
Ubuntu rsync Edit question
No assignee Edit question
Solved by:
Last query:
Last reply:
Revision history for this message
nokangaroo (nokangaroo-deactivatedaccount-deactivatedaccount) said :

may become interesting - the above find command just failed when executed from the live cd's terminal, so more info about rsync would be welcome.

Revision history for this message
nokangaroo (nokangaroo-deactivatedaccount-deactivatedaccount) said :

I just used rsync -rtovHAXlgD to move my home to a separate partition, and it seems to work. But the above find command did not,at least not from the live cd. Follow the instructions in replacing the find command with this rsync.