Mac Forums

Mac Forums (http://www.mac-forums.com/forums/)
-   OS X - Operating System (http://www.mac-forums.com/forums/os-x-operating-system/)
-   -   rsync help? (http://www.mac-forums.com/forums/os-x-operating-system/199622-rsync-help.html)

oliverwolfson 04-22-2010 11:27 PM

rsync help?
 
rsync --delete -av "$1" "$2"

I am using the code above to sync directories. works, but this script does not seem to do a proper "differential" backup. what I want is the files that have been moved or deleted from the source directory to be moved or deleted in the destination. at this point I am getting duplicates.

Any help?

Thanks!!!


All times are GMT -4. The time now is 06:44 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.