Subfolder by date

Started by neebah, May 11, 2018, 12:11:09 PM

Previous topic - Next topic

neebah

I would like to run a command to move photos to a new folder structure as follows. 

Year\Month\Day\

based on whichever date I prefer (taken, digitized, etc).  I would also like any photos that aren't dated accordingly which tag I use to go into an unspecificed folder.  Any way to do this. 

StarGeek

exiftool -d "%Y/%m/%d" "-directory=/path/to/UnspecifiedFolder" "-directory<DateTimeOriginal" FileOrDir

If the DateTimeOriginal exists, then it overrides the first directory instruction.

* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).