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.
|All times are GMT -4. The time now is 02:56 PM.|
Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.