I want to rsync with the delete option so that the folders remain identical copies, also after I have deleted files and folders from the source.
The problem is there might be something on the destination folder that isn't meant to be deleted. In that case, what I would like to happen is that rsync deletion proceeds but the files that are to be overwrittenremoved actually get stored in some garbage folder instead of being removed from the filesystem.
That way I could maintain identical folders without the fear of accidentally overwriting something.
How would it be best to go about achieving such a functionality?