The command I use for a basic backup, rsync -avr --delete working_directory/ backup/, would correctly create a mirror of my directories.
However, sometimes I move loads of files around in the source. For example, renaming a/ to A/, b/ to B/. In this case, the command would first delete the target a/ and then copy the whole A/.
This is annoying when a/ is huge. Is there a way of applying the more efficient solution of simply moving files in the target so they match the source?
It does not have to be rsync based. Any cli tool is fine.