Photo organizing app
Project description
PhotoSorter is a small script in Python and Python 3 which can organize your photos. For example we have some directory:
last_summer/ IMG_0001.jpg IMG_0002.jpg cafe/ IMG_0042.jpg Camera_2015-01-01-19-30.jpg
Script will read EXIF data from all images or file creation date(if no EXIF provided) and move them into human readable directory strucure: Year/Year_Month/Year_Month_Day/. For example:
2014/ 2014_08/ 2014_08_16/ IMG_0001.jpg IMG_0002.jpg 2014_08_20/ IMG_0042.jpg 2015/ 2015_01/ 2015_01_01/ Camera_2015-01-01-19-30.jpg
If names of files are identical script will not overwrite them. File will be renamed from filename.jpg to filename(1).jpg.
Installing
For first you must install libjpeg-dev to enable .JPEG file support for Pillow. In Debian/Ubuntu just type:
sudo apt-get install libjpeg-dev
For RPM based distros it would be:
sudo yum install libjpeg-turbo-devel
Installing app
Run in your console:
pip install photosorter
Manual installing
Save photosorter.py from GIT repository and install required python libs. For Debian/Ubuntu:
sudo apt-get install python-six python-pil
also you can install them from pypi.
Runing
Run:
photosorter –help
to see script params
Contribute
Welcome to https://github.com/iamtio/photosorter
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
File details
Details for the file photosorter-1.0.5.tar.gz
.
File metadata
- Download URL: photosorter-1.0.5.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
8262c44d0e0da388f8d07b7f733c8b6339bd5f63ceb640166b4a48fcc9956de5
|
|
MD5 |
72ecb38e8eb47e6e11f6e06108207f5b
|
|
BLAKE2b-256 |
54eb935684c14db602edc6ef12201930df8f01fad09484bced0da88264684e7f
|