Graphical tool to sort images into a folder structure based on the date the images were taken
Project description
Image Sorting Tool
This is a simple python tool that will find all the images in a source directory (including sub-directories) and copy them into a structured destination.
The date taken for each image will be extracted from the exif data and the image destination name will be by default in format 'yyyymmdd-HHMMSS'. For example '20201225-234532.jpg' The default output structure is for sorted images to be placed in year and month folders. For example:
/
├── 2019/
├── 07/
├── 20190712-141507.jpg
└── 20190719-224521.jpg
└── 10/
├── 20191011-180520.jpg
└── 20191029-204731.jpg
└── 2020/
├── 01/
└── 20200114-135312.jpg
└── 03/
└── 20200301-110330.jpg
Images that do not have EXIF data available will be copied to a 'failed' folder in the root directory of the above directory structure without any renaming.
This tool is multithreaded to increase performance on high speed storage such as SSDs.
No data in the source directory is altered. It is only read from and then copy operations are performed during the sorting process.
Installation
The tool can be run on Linux, MacOS and Windows provided the following requirements are met
Requirements
Usage
From the root directory of this repository run
python -m image_sorting_tool
Development
To contribute, install the dev dependencies with
pip install -e .[dev]
Precompiled Downloads
Coming soon ....
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file image-sorting-tool-0.0.1.tar.gz
.
File metadata
- Download URL: image-sorting-tool-0.0.1.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6065f3341b71f37847e98e1decf25666fcdfe9acce80abb64eda70bd1f4b75ab |
|
MD5 | 989ee86cb4fb163eeeb4f69a0e1a8eee |
|
BLAKE2b-256 | 8a9c749556840ee26eb2687ef19cd5cb913d06c7400f3114264f8ac1e0be2f65 |
File details
Details for the file image_sorting_tool-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: image_sorting_tool-0.0.1-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e809858f9369515f3dfde909b7c7ec97881fa513e40fba3ba6c65a5290f5f1b |
|
MD5 | 12bba4c771febb92de1f79f52832e4a8 |
|
BLAKE2b-256 | 33995fe0e0d7af9a4f947db18f0acb73475a14f9631a3592620f4de8cfde124a |