photo-organize is a tool to organize photographs into subdirectories based on exif date. If no EXIF date is found, the file date is used.
For example, I use it to quickly move all my phones pictures to subdirectories named after the date YYY-MM-DD. For this particular purpose, a day starts at 5am. This way late evening pictures belongs to the correct event day.
npm install -g photo-organize
photo-organize [directory] [--dry]
If the directory is not provided, the current working directory is used. The --dry option logs the changes without applying them.
Tested with Node.js version from 12 to 17.