At the moment I use this command in a batch file to set the date in the filename of all jpg-files in the directory:
exiftool "-FileName<${CreateDate}_%%f.%%e" -d "%%Y%%m%%d_%%H%%M%%S%%%%-c" *.JPG
Now I want to have also the city of the IPTC tag in the file name in the form date_city_filename.jpg
.
Is this possible?
-Jan
Hi Jan,
Yes. It is as simple as adding "${city}" to the string you are copying"
exiftool "-FileName<${CreateDate}_${city}_%%f.%%e" -d "%%Y%%m%%d_%%H%%M%%S%%%%-c" *.jpg
- Phil
Hi Phil,
Thank you very much for the quick response.
-Jan