[ltp] Syncing from TP HDD to USB key

Andreas Stemmer linux-thinkpad@linux-thinkpad.org
Tue, 18 Oct 2005 16:22:03 +0200


Joel Ebel wrote:
> try:
> rsync -auv --update /home/blah/ /mnt/usb/backup/
> then the other way:
> rsync -auv --update /mnt/usb/backup/ /home/blah/
> 
> The -u won't overwrite newer files.  No need for unison.  You just have 
> to be sure you delete something in both places if you want it gone.

Ah ok, but you'll need the additional --existing option to prevent the 
creation of new files.

Andreas