Thread: rsync help?
View Single Post

Member Since: Apr 01, 2009
Posts: 6
oliverwolfson is on a distinguished road

oliverwolfson is offline
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?

QUOTE Thanks