Source on github: https://github.com/f0xd3v1lsw1ld/photoworkflow
What happens inside photoworkflow
- The md5 sum of each image will be calculated.
- If the result is in the database, the next image will be proceed, if not the image will be copied into the tmp dir (default: /home/$USER/.photoworkflow)
- change dir into tmp dir
- call exiftool to rename all images into: IMG_%Y-%m-%d-%H_%M_%S%%-c.%%le, based on the DateTimeOriginal
- call exiftool to move all images into $working_dir/%Y/%Y-%m-%d, based on the DateTimeOriginal
- cleanup tmp dir