Write filename from CreateDate with *.bat files.

Started by BloodS0ul, December 02, 2020, 05:50:52 PM

Previous topic - Next topic

BloodS0ul

Hello and sorry - i dont get it :o...:

i use *.bat files to drag my images on it to use exiftool.

Whats wrong with this?:
(Filename: CreateDate_to_filename.bat)

exiftool -execute -charset filename=Latin "-filename<${CreateDate}.%%e" "-d %Y-%m-%d - %H;%M;%S" -overwrite_original -L -r -m -P %1

Image allways will renamed like this:
20160709 132234.jpg

Instead of this:
2016-07-09 - 13;22;34.jpg


Thank you for your help.



PS: From German with Umlaute äöü...

StarGeek

"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype