Main Menu

Using an imagesourcefile

Started by BruceK, July 19, 2023, 03:17:19 PM

Previous topic - Next topic

BruceK

Rather than

>exiftool image1.jpg image2.jpg image3.jpg >results.txt

I would like to use a sourcefile instead, such as

>exiftool <image_sourcefile.txt >results.txt


where image_sourcefile.txt is

c:\dir1\image1.jpg
c:\dir2\image2.jpg
c:\dir3\image3.jpg

Is there a correct syntax for this?

Thanks.



Phil Harvey

This is the command:

exiftool -@ image_sourcefile.txt > results.txt

- 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 ($).