- Joined
- Apr 1, 2009
- Messages
- 6
- Reaction score
- 0
- Points
- 1
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!!!
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!!!