Sometimes I have the problem that I want to check for new files in one directory compared to another one. The situation in more detail:
I have a directory SRC with lots of files and I have a directory REF with lots if files. Now I want to know which files in SRC are new, i.e. are not in REF.
Note the file comparison should be regardless of the a file's location in the directory structure: e.g. if
DEST/zq/file1.txt are identical, they should not be listed.
This is similar to duplicate detection, but kind of the opposite, too. I am looking for a command line tool which produce a list of the new, non-duplicate files in SRC. Under no circumstances it should do anything with the files in REF.
I had a look at a few duplicate finders:
dupeGuru. From my understanding none of them offeres an direct way to list the non duplicates in SRC. The tool should run at least under OSX, but a platform-independent solution (maybe in
Python) would be best.
Before I re-invent the wheel and write a script myself, did I overlook a command line option in the listed tools or is there another command line program achieving want I want?