Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeremyfix/tidy_my_images
Python script to classify images from their EXIF datetime
https://github.com/jeremyfix/tidy_my_images
Last synced: 5 days ago
JSON representation
Python script to classify images from their EXIF datetime
- Host: GitHub
- URL: https://github.com/jeremyfix/tidy_my_images
- Owner: jeremyfix
- License: gpl-2.0
- Created: 2014-07-22T10:58:50.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-05T08:40:15.000Z (over 8 years ago)
- Last Synced: 2023-04-27T07:40:40.088Z (over 1 year ago)
- Language: Python
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Tidy My Images
==============Python script to classify images from their EXIF datetime
Motivation
----------I have a bunch of directories where I usually copy my images. But at some point, they all become 'to_classify', 'to_classify_2' , and so on. I like to get the images properly ordered in subdirectories root/YYYY/MM/filename with a filename being YYYY_MM_DD_hh:mm:ss.xxx where xxx is the original extension. The script tidy_my_images helps in doing the job by using the EXIF datetime tag of the images.
Installation
------------The script relies on [exif-py](https://github.com/ianare/exif-py) and standard python otherwise. It requires at least python 2.7 as it is using argparse.
Usage
-----To know how to use the script, use
> python tidy_my_images.py -hThe basic way to use the script is:
> python tidy_my_images.py Photos/ PhotosDst/If you want to know what the script is doing, you can set up the verbosity (0, 1 or 2)
> python tidy_my_images.py Photos/ PhotosDst/ --verbosity 2The script processes all the files, order and rename the images and copy the other files into PhotosDst/ignored_files