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
Request: rsync that deletes old files
-
- Posts: 15
- youtube meble na wymiar Warszawa
- Joined: Thu Feb 04, 2016 12:18 pm
-
- Posts: 4
- Joined: Sat Apr 23, 2016 4:02 pm
Re: Request: rsync that deletes old files
rsync has this options, from the man file:
search for "rsync delete" to get more info
so you can make it like this:
Code: Select all
--delete delete extraneous files from dest dirs
so you can make it like this:
Code: Select all
rsync --dry-run --delete source/ destination/
-
- Posts: 15
- Joined: Thu Feb 04, 2016 12:18 pm
Re: Request: rsync that deletes old files
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??
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??