ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: luvnrocs on June 11, 2015, 03:09:59 PM

Title: Bat file for only certain file types
Post by: luvnrocs on June 11, 2015, 03:09:59 PM
I need to create a bat file that will add metadata to both TIF and PDF files within folders/subfolders, but the metadata is different for each filetype.

Right now I have a bat file that will apply metadata to all files in a folder/subfolder:
exiftool -make="Fujitsu" -model="fi-6770" -source="News Office records, AC69, Series 1. -m -r -overwrite_original %1

How do I apply this to just the TIF files?
Secondly can I create another line in the bat file that can apply different metadata to the PDF files?
Title: Re: Bat file for only certain file types
Post by: Phil Harvey on June 11, 2015, 03:45:58 PM
Yes, certainly.  See the -ext option in the documentation.

- Phil