ExifTool Forum

ExifTool => Newbies => Topic started by: techraf on July 01, 2015, 06:12:29 PM

Title: Getting duplicate file names in tabular/list form
Post by: techraf on July 01, 2015, 06:12:29 PM
With exiftool failing to rename files, is is possible to get a list of all duplicate filenames (source and destination) without parsing the stderr?

I want to use exiftool's output as an input to ImageMagick's "identify %#" to find images that differ only by EXIF.


Regards,
Title: Re: Getting duplicate file names in tabular/list form
Post by: Phil Harvey on July 01, 2015, 08:49:04 PM
I guess I don't understand why parsing stderr is a problem.  Is it because you want the names in some other format?  I would just grep for "already" in stderr.

- Phil
Title: Re: Getting duplicate file names in tabular/list form
Post by: techraf on July 05, 2015, 08:21:45 AM
Phil,

Thank you for answering.

There is no problem. I just thought if the "obstructing filename" were treated as regular tag name, I could pass more than two arguments to the child script doing comparison (mainly to differentiate between old camera not supporting subseconds and files that were edited/rotated and have the same times).

Anyway, as you pointed out, I can parse the stderr and achieve what I wanted in more than one pass. I just wanted to make sure if there was no shortcut for this.