below is the command i used to synchronize the contents of my usb thumbdrive with a shared directory on my computer
>rsync -Cavz --delete /media/usbdrive/ /share/syncDir/
-C == excludes cvs directories
-a == archive, preserves pretty much everything recursively
-v == verbose
-z == compresses data, only necessary when dealing
with a remote connection
--delete == deletes files at the destination that are not at the
source, read man page for more control
--dry-run == print result to stdout without actually executing
the sync
Wednesday, June 27, 2007
Subscribe to:
Post Comments (Atom)
1 comment:
There is a nicely convenient tool called usbsync which has specially been desgined for the purpose of keeping a usb flash drive in sync with multiple Unix hosts.
Check it out at http://klingspor-thueringen.de/usbsync
Cheers!
Post a Comment