Merge tags of duplicated images before removing them

Started by enboig, March 14, 2018, 04:34:25 AM

Previous topic - Next topic

enboig

I have to merge two libraries of images. I need a way to:
- Find duplicated files (some tools do this).
- Merge their tags (I have found no tool to make this).
- Delete duplicated images.

Does such a tool exists? I have no problem writing a bash script if necessary to achieve it in multiple steps.

Thanks

Phil Harvey

ExifTool can merge tags from two files.

I would find duplicate files like this (should work on Mac/Linux):

md5 `find DIR` | sort -k 4 | uniq -d -f 3

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).