Skip to main content

Dedupe a set of pictures in a given folder and rename them using the yyyymmdd_HHMMss format

Project description

Ever had a shared folder of pictures with friends from one of your travels, and had a ton of weird filenames which made browsing pictures in order impossible?

This is a solution to that! Simply install this package and run a simple command to fix a selected folder by dedupe all pictures and renaming them using the yyyymmdd_HHMMss format.


Python 2.7+


From Zip

Download the latest source from GitHub repository.

Extract and run:

python install


Command line

Some examples: -d /home/pictures/collection -d /home/pictures/collection -o dedupe

Show command line options: -h

usage: [-h] -d DIRECTORY [-o OPERATIONS] [-p PATTERNS]

Dedupe a set of pictures in a given folder and rename them using the yyyymmdd_HHMMss format

optional arguments:
  -h, --help                              show this help message and exit
  -d DIRECTORY, --directory DIRECTORY     input directory for all pictures
  -o OPERATIONS, --operations OPERATIONS  the operatiosn to perform (dedupe, rename, or both) (default: both)
  -p PATTERNS, --patterns PATTERNS        the glob patterns for pictures (default: *.jpeg,*.jpg,*.png)

Python Script


from pictures import dedupe, rename
files = load_files_to_dedupe()
files = load_files_to_rename()

Project details

Download files

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

Files for PicturesDedupeRename, version 1.0.5
Filename, size File type Python version Upload date Hashes
Filename, size PicturesDedupeRename-1.0.5-py2.py3-none-any.whl (8.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page