Move files into nested directories, by year then by model

Started by pheon, June 06, 2021, 12:06:23 PM

Previous topic - Next topic

sajeed

Hello StarGeek -

Thank you so much for taking the time to guide and correct the code for me. I really appreciate it. I just tried the code separately and it showed the output correctly. I've attached the screenshot.

My only question is, is it okay to execute exiftool from another location or should exiftool.exe be in the same directory where all the photos are?

Once again, thank you so much for your help and guidance. I really appreciate it.

Best,

Sajeed

StarGeek

Quote from: sajeed on September 24, 2022, 01:20:11 PMMy only question is, is it okay to execute exiftool from another location or should exiftool.exe be in the same directory where all the photos are?

Exiftool can be anywhere on the computer as long as it's location is in the PATH variable.  If you type
path
into the command line, it will list all the directories that the command line will look into when you run a program.  Exiftool can be in any of these directories, though not all are appropriate places to put it.

Two ways of making it easier to make sure exiftool is in the PATH is to install it with either Oliver Betz's Alternate exiftool build, which includes an installer.  Or if you use Chocolatey, there is a Chocolatey install package.
"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