Skip to main content

A script to intelligently bulk rename images using EXIF data contained within.

Project description

A script to intelligently bulk rename images using EXIF data contained within

Current build status

Install

To install smart-image-renamer:

Recommended method is via pip.

pip install smart-image-renamer

Else install like any other python package.

python setup.py install

Usage

usage: smart-image-renamer.py [-h] -f FORMAT [-s SEQUENCE] [-r] [-i] [-t] [-V]
                            [-v | -q]
                            input [input ...]

Smart Image Renamer

Rename your photos in bulk using information stored in EXIF.

positional arguments:
  input          Absolute path to file or directory

optional arguments:
  -h, --help     show this help message and exit
  -f FORMAT      Format of the new file name
  -s SEQUENCE    Starting sequence number (default: 1)
  -r             Recursive mode
  -i             Include hidden files
  -t             Test mode. Don't apply changes.
  -V, --version  show program's version number and exit
  -v, --verbose
  -q, --quiet

Format string for the file name is defined by a mix of custom text and following tags enclosed in {}:
  YYYY        Year
  MM          Month
  DD          Day
  hh          Hours
  mm          Minutes
  ss          Seconds
  Seq         Sequence number
  Artist      Artist
  Make        Camera Make
  Model       Camera Model
  Folder      Parent folder of the image file

Examples:
  Format String:          {YYYY}-{MM}-{DD}-{Folder}-{Seq}
  File Name:              2014-05-09-Wedding_Shoot-001.JPEG
                          2014-05-09-Wedding_Shoot-002.JPEG

  Format String:          {YYYY}{DD}{MM}_{Model}_Beach_Shoot_{Seq}
  File Name:              20140429_PENTAX K-x_Beach_Shoot_001.JPEG
                          20140429_PENTAX K-x_Beach_Shoot_002.JPEG

Project details


Download files

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

Source Distribution

smart-image-renamer-0.3.tar.gz (5.1 kB view details)

Uploaded Source

File details

Details for the file smart-image-renamer-0.3.tar.gz.

File metadata

File hashes

Hashes for smart-image-renamer-0.3.tar.gz
Algorithm Hash digest
SHA256 cac51ef0b2af51ccb4df07d88d1e33091df5459a0f2c8e70aea2d4e4525774e3
MD5 6b7a421553053b163731f9b2165f58e8
BLAKE2b-256 ee48c7d428827423d3467ff714c085b7b66b0bda78ea7bdcc5a786e25c65ac3b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page