Organize image files by date taken
All tiff and jpg images under the given source directory are placed in the destination directory under subdirectories with names corresponding to when they are taken. Files with no or invalid exif metadata are put in the unknown directory.
The destination directory have the following structure after processing:
2013/ 2013_12_20/ 1.jpg 2014/ 2014_03_06/ 2.jpg 3.jpg 2014_07_01/ 4.jpg unknown/ 5.jpg
The original filenames are preserved. If a destination filepath already exist, there are two possible outcomes:
Install with one of the following commands:
$ easy_install imagesort
or alternatively if you have pip installed:
$ pip install imagesort
Type imagesort -h for a list of available options.
Copy images from inputdir to outputdir:
$ imagesort copy inputdir outputdir
Use the dry-run flag to see which actions will be performed without actually doing anything:
$ imagesort --dry-run copy inputdir outputdir
Replace copy with move or hardlink to move or hardlink files instead of copying them.
Hardlink operation (os.link) is not available on Windows before Python version 3.2.
Running the tests during development requires pytest. Install dependencies with
$ pip install -r requirements.txt
and then run tests with
Alternatively, if you have tox installed, just run tests by running:
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|imagesort-0.4.0-py2.py3-none-any.whl (6.2 kB) Copy SHA256 Checksum SHA256||py2.py3||Wheel||Aug 23, 2015|
|imagesort-0.4.0.tar.gz (4.0 kB) Copy SHA256 Checksum SHA256||–||Source||Aug 23, 2015|