Using the following code:
C:\exiftool.exe -Artist Dir
Provides the following output:
======== E:/File1.jpg
Artist : username1
======== E:/File2.jpg
Artist : username2
1 directories scanned
2 image files read
Ideally the output would look like:
username1_username2
or
username1
username2
Does anyone know some options to remove the SourceFile from the output?
Try
exiftool -q -s3 -Artist DIR
@StarGeek - thank you sir! You have provided assistance for this project on stackoverflow as well, thanks for the support!
Can you take this one step further and explain how -s3 works? I see that -s[NUM] (-short) = Short output format but don't understand the number system.
Thanks again!
Heh, skipping between your question here and on stackexchange.
From the docs on the -s option (https://exiftool.org/exiftool_pod.html#s-NUM--short):
-s1 or -s - print tag names instead of descriptions
Normally, exiftool will print the description of the tag rather than the tag name. Most of the time it's just a case of removing the spaces to get the tag name, e.g. "Image Description" vs "ImageDescription". But sometimes there's more of a difference, such as the Composite "Create Date" description vs. the actual tag name of "SubSecCreateDate".
-s2 or -s -s - no extra spaces to column-align values
This removes the extra spaces that usually try to make the output look nicer in addition to the above setting:
Create Date : 2002:02:02 02:02:02+04:00
vs
SubSecCreateDate: 2002:02:02 02:02:02+04:00
-s3 or -s -s -s - print values only (no tag names)
Removes the tag names altogether, just the tag output.
2002:02:02 02:02:02+04:00