I have two copies of a folder
src/
dest/
I want to merge them, doing the following:
If a file is only in src
, I want it to be moved to dest
If a file is only in dest
, I want it ignored IE left alone.
If a file is in both and has identical contents (IE same size and date), delete from src
If a file is in both and does not have identical contents, leave behind in src
so I can manually merge them.
Only a very small number of files (between 0% and 5% of total files) should be in this last category, but I don't know how to separate the the in both and the same from in both, but different.
I've tried to figure out how to do this with rsync
but to no avail so far.