I can't find a solution to do the following with rsync on Linux:
- Compare two folders
- When found two identical files on the same root position on both source tree and target tree, with same name, but different timestamp or size:
- Instead of updating the target file (less size or older timestamp) with the source on (newer or bigger size), either by appending the missing chunks to the content (using -u), or replacing the Whole file (using -W), I'd like to have it: copying it, to the same tree position, with a name prefix or suffix.
There has been a solution to avoid losing the older file if overridden, by copying them into a third folder, but I think copying them to the same place on target, and renaming them, keeping the old one there too, would be of a better context by keeping the new files locations.
Here is how I want it to work:
