[ltp] Syncing from TP HDD to USB key

Bob Alexander linux-thinkpad@linux-thinkpad.org
Wed, 19 Oct 2005 07:54:42 +0200


Andreas Stemmer ha scritto:
> 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

This is great. I like this more than Unison which in the past I had some 
problems with. I had always thought only of the "remote" usage for rsync.

Take care,
Bob