Hello All,
Please help me write a batch file/command for renaming .JPG Files.
I wanted to use either DateCreated or DateModified that we see under File section
when I right click and select properties, look at Details tab for the file.
I listed what I use for Videos, but they don't work for .JPG.
For all video files.
exiftool -d "%%Y-%%m-%%d %%H.%%M.%%S.%%%%e" "-filename<createdate" -k %*
For MTS video files.
exiftool -d "%%Y-%%m-%%d %%H.%%M.%%S.%%%%e" "-filename<datetimeoriginal" -k %*
Many Thanks.
Rahul
This work for my .jpg files
exiftool -d %%Y%%m%%d_%%H%%M%%S%%%%-c.%%%%e "-filename<file:filecreatedate" -P .
(I used 2x% since its a batch file)
Also you can change the " ." at the end with a specify directory (e.g. "C:\images")
The format its
YYYYMMDD_HHMMSS
You can change it at will easily