I have four types of files:
- JUST_SOURCE exist only in the source directory
- JUST_TARGET exist only in the target directory
- SAME exist in in both source and target directories, and have the same checksum
- DIFFERENT exist in in both source and target directories, but have different checksums
I want to do the following to each of them:
- JUST_SOURCE move to target
- JUST_TARGET do nothing
- SAME remove from source
- DIFFERENT do nothing
How can I do that from the command line? I have tried many possibililies with rsync but they didn't work.