Thread: rsync help?
04-23-2010, 12:27 AM #1
- Member Since
- Apr 01, 2009
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.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By ankhseeker in forum OS X - Operating SystemReplies: 0Last Post: 06-10-2015, 04:36 PM
By bpasker in forum Images, Graphic Design, and Digital PhotographyReplies: 2Last Post: 04-11-2015, 11:01 AM
By ssar17 in forum Switcher HangoutReplies: 2Last Post: 02-18-2015, 06:03 PM
By berto in forum OS X - Operating SystemReplies: 1Last Post: 08-27-2010, 08:14 AM
By txn in forum OS X - Operating SystemReplies: 3Last Post: 01-08-2008, 09:08 AM