Create Date rename not using the actual date

Started by hl24a3, August 16, 2024, 11:57:06 AM

Previous topic - Next topic

hl24a3

Hi Phil,

I've tried few of your code lines and none of them is renaming to the actual date. File has a create date
Create Date : 2024:08:14 08:44:25
Lets say I use this code
exiftool "-FileName<CreateDate" -d %Y-%m-%d.%%e .
and it renames it to:
m-e

Phil Harvey

This could happen if you are running in a .bat file.  For .bat files, all percents must be doubled.

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

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

hl24a3

Thank you so much guys! that did it 👍👍👍