ExifTool Forum

General => Other Discussion => Topic started by: enboig on March 14, 2018, 04:34:25 AM

Title: Merge tags of duplicated images before removing them
Post by: enboig on March 14, 2018, 04:34:25 AM
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
Title: Re: Merge tags of duplicated images before removing them
Post by: Phil Harvey on March 14, 2018, 07:14:13 AM
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