On 22/07/11 00:39, Thomas H. George wrote:
I partitioned a 1 TG usbdrive as ext3, mounted it as /usbmem and entered
the command rsync -r / /usbmem.  The tranfer proceeded with many

Isn't this going to go recursive?

Since usbmem is another file system the -x flag should prevent this. Also as another poster has said you need the -a and -H flags to maintain file ownership and copy hardlinks

rsync -axH  / /usbmem/

Note: I am careful about trailing "/"s. In you case I don't think there is a problem but I like be clear about it.

--
Alan Chandler
http://www.chandlerfamily.org.uk


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e291eec.6040...@chandlerfamily.org.uk

Reply via email to