Hi, new user here.
I read most of the help pages and followed the instructions but still have problems.
What I want:
I import files from iphone and what to organize the pictures and *.MOV files into the direction with format "YYYY-mm-dd".
What I did:
1. I checked the "create date" of the files and they exist. (attached screenshot)
2. I use command
exiftool -d %Y-%m-%d "-Directory<createdate" .
3. The command create a new folder : "m-d" and moved the file into that folder. This happens not only to the *.MOV file but also to the JPG file too.(attached screenshot)
My guess:
The tool does read the createdate, but cannot convert to %Y-%m-%d
Please help.
Thanks.
This image
(https://exiftool.org/forum/index.php?action=dlattach;topic=12554.0;attach=4149)
says it all. You are using a date format string of m-d, no percentage signs. I suspect this is FAQ #27 (https://exiftool.org/faq.html#Q27).
Also, you appear to be using Fancy quotes "" '' and you need to use straight quotes " '. Make sure you're not copy/pasting the command from a Word/Google Doc. Word processing programs will "help" you by "fixing" your quotes, making them unusable for the command line.
Thank you so much for the accurately prompt response.
It's the "%" in command line messed up.
Thank you. Everything works now.