Skip to main content

Reorder images from multiple cameras into a single folder

Project description

Image Reorder

pypi license wheel python Test Suite coverage Poetry

Reorder images from multiple cameras into a single folder

To use, create a source directory (say, pictures) with a subdirectory for each camera (pictures/mom, pictures/dad, etc.). Run the analyze command to get some basic info about what images exist in the source directory:

$ reorder analyze --help
Usage: reorder analyze [OPTIONS] <source-dir>

  Analyze images in a source directory.

  Finds all images in a source directory and generates some information about
  those images, including camera models.

Options:
  -h, --help  Show this message and exit.

Then, run the copy command to copy files from the source directory to some target directory:

$ reorder copy --help
Usage: reorder copy [OPTIONS] <source-dir> <target-dir>

  Reorder images from a source directory into a target directory.

  Finds all images in a source directory and reorders them into a target
  directory by EXIF creation date, taking into account any offsets.  The
  target folder will be created if it does not already exist.

  The copied filenames will get a prefix like "image001__".  This way, you can
  sort the images by filename, and they'll have the correct order.

  If the clocks on the cameras are not in sync, you may optionally provide a
  time offset by camera model.  The configured hours and minutes will be added
  to or removed from the the actual EXIF time.  Use a format like "PowerShot
  A70=+06:55" or "Pixel 2=-00:03".  The `reorder analyze` command will show
  you all of the different camera models among your images.  You can provide
  the --offset switch multiple times.

Options:
  -o, --offset <offset>  Time offset like 'PowerShot A70=+06:55'
  -h, --help             Show this message and exit.

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

image_reorder-0.2.5.tar.gz (16.9 MB view details)

Uploaded Source

Built Distribution

image_reorder-0.2.5-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file image_reorder-0.2.5.tar.gz.

File metadata

  • Download URL: image_reorder-0.2.5.tar.gz
  • Upload date:
  • Size: 16.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.10 Linux/6.8.0-1015-azure

File hashes

Hashes for image_reorder-0.2.5.tar.gz
Algorithm Hash digest
SHA256 349a9fbf114abb42697ac8fbba31de1a8cd98f0d6385a35dfd25db6923a5ecde
MD5 c819b17fb06f0a5e3f46b606b054ba9a
BLAKE2b-256 78ad82b7053fb198f235daca43de6f6b2f9048d740c327c36031698f69a8de5d

See more details on using hashes here.

File details

Details for the file image_reorder-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: image_reorder-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.10 Linux/6.8.0-1015-azure

File hashes

Hashes for image_reorder-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b7a670a9e5441721a212c38a6989d9c061234e802b3e89cc07e2bc95caee9128
MD5 0d2919788648c11e453aad729ed05a0a
BLAKE2b-256 b1010da0f5ea614e560df97a6c0c1abb84948446bed0b4823109e87f1292f993

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