Moving Files to Sub-Directory

Started by klind, January 09, 2020, 04:24:54 PM

Previous topic - Next topic

klind

I'm a bit baffled. Using the following command on a test base the files get moved as expected:

exiftool -d %Y/%m '-directory<$directory/$datetimeoriginal' DIR

However, this only works if datetimeoriginal exists. Accordingly, I attempt to run the following command:

exiftool -d %Y/%m '-directory<$directory/$filemodifydate' '-directory<$directory/$createdate' '-directory<$directory/$datetimeoriginal' DIR

This command simply fails to run returning just a greater than (>) screen prompt.

I am running MacOS.

Ken Lind

StarGeek

Quote from: Paxapunch on January 09, 2020, 04:24:54 PM
exiftool -d %Y/%m '-directory<$directory/$filemodifydate' '-directory<$directory/$createdate' '-directory<$directory/$datetimeoriginal' DIR

Make sure and use regular quotes, not fancy quotes.
"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