Request: rsync that deletes old files

Got a feature request? Great! Post your ideas here!
Post Reply
nick_woodforth
Posts: 15
youtube meble na wymiar Warszawa
Joined: Thu Feb 04, 2016 12:18 pm

Request: rsync that deletes old files

Post by nick_woodforth »

hey asustor,

i am using rsync to backup to a 2nd nas that i have but all the files that i delete from the source are still on the destination. can you add a feature to rsync to remove the deleted files from the destination?

thanks
nick
damascene
Posts: 4
Joined: Sat Apr 23, 2016 4:02 pm

Re: Request: rsync that deletes old files

Post by damascene »

rsync has this options, from the man file:

Code: Select all

--delete                delete extraneous files from dest dirs
search for "rsync delete" to get more info

so you can make it like this:

Code: Select all

rsync --dry-run --delete source/ destination/
nick_woodforth
Posts: 15
Joined: Thu Feb 04, 2016 12:18 pm

Re: Request: rsync that deletes old files

Post by nick_woodforth »

sorry for taking ages to reply i thought i had emails alerts on.(turns out i didnt :( )
im guessing i would have to do that via ssl?
i haven't done much with ssl before. can i schedule though ssl as well??
Post Reply

Return to “Feature Requests”