Thread: rsync help?
04-22-2010, 11:27 PM #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, 03:36 PM
By bpasker in forum Images, Graphic Design, and Digital PhotographyReplies: 2Last Post: 04-11-2015, 10:01 AM
By ssar17 in forum Switcher HangoutReplies: 2Last Post: 02-18-2015, 05:03 PM
By berto in forum OS X - Operating SystemReplies: 1Last Post: 08-27-2010, 07:14 AM
By txn in forum OS X - Operating SystemReplies: 3Last Post: 01-08-2008, 08:08 AM