Article 5J5DZ Can rsync redirect extraneous source files to a separate folder

Can rsync redirect extraneous source files to a separate folder

by
gvajpai
from LinuxQuestions.org on (#5J5DZ)
I use an external hard disk to sync selected folders regularly for backup.
Is it possible in rsync to redirect any files that are not present in the 'source' directory to a different folder (which is outside the 'destination' directory hierarchy).
In all any files that are not in the 'source' directory,
1. should not be left in the 'destination' directory
2. should not be deleted from the 'destination', instead redirected to a separate folder.

Thankslatest?d=yIl2AUoC8zA latest?i=YFmuA6kvsh8:X_2HflzdepQ:F7zBnMy latest?i=YFmuA6kvsh8:X_2HflzdepQ:V_sGLiP latest?d=qj6IDK7rITs latest?i=YFmuA6kvsh8:X_2HflzdepQ:gIN9vFwYFmuA6kvsh8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments