CMD command - Why does it not work?

Started by Sunny, February 07, 2022, 03:16:11 AM

Previous topic - Next topic

Sunny

I am trying to execute the command in CMD from example 13 but unfortunately it does not work. What is the problem that it does not work?

exiftool -d %Y "-filename<$createdate/${model;}/${createdate#;DateFmt("%Y-%m-%d_%H%M%S")}.%e" test.jpg




Phil Harvey

The problem is quotes within quotes.  Change the inner quotes around the date format string to single quotes.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Sunny

Thank you very much Phil, now everything works  :D