Montag, 25. Januar 2016

photoworkflow

Source on github: https://github.com/f0xd3v1lsw1ld/photoworkflow


What happens inside photoworkflow
  1. The md5 sum of each image will be calculated.
  2. 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)
  3. change dir into tmp dir
  4. call exiftool to rename all images into: IMG_%Y-%m-%d-%H_%M_%S%%-c.%%le, based on the DateTimeOriginal
  5. call exiftool to move all images into $working_dir/%Y/%Y-%m-%d, based on the DateTimeOriginal
  6. cleanup tmp dir