Skip to main content
Help us improve Python packaging – donate today!

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

Release history Release notifications

This version
History Node

1.0.5

History Node

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
photosorter-1.0.5.tar.gz (3.4 kB) Copy SHA256 hash SHA256 Source None Aug 3, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page