Created
December 22, 2022 23:19
-
-
Save ludwigtuerme/943ce5f946c7c5b8a36a435cf5ee2c29 to your computer and use it in GitHub Desktop.
exiftool script to move photos from one folder to another. organizes by the year/month/day folder hierarchy. works on macos, not windows.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
fromdir="" | |
todir="" | |
exiftool -d '%Y/%m/%d' '-Directory<'$todir'/$DateTimeOriginal' $fromdir | |
It does not work for mp4 files.
Don't use the FileName tag. Use the FileModifyDate tag instead.
Or the MediaCreateDate tag.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Phil Harvey has this quote as his signature on the forum: