Skip to main content

Organize photos based on exif

Project description

reloci

PyPI License Build

This can be used to reorganise photos into directories by date.

Usage

This is a command line utility to copy or move files from one location to another location using the metadata in the files to order them into logical directories.

reloci current/path/to/files path/to/destination

To see all options use

reloci --help

Currently the files will be ordered based on the creation date of the files. Use the dryrun option to check if the planned move/copy matches your expectations.

Specifically for time-lapse shooting there is a command to group photos from the same sequence, based on a consistent interval between subsequent photos. Use the group option to immediately group the found sequences in directories.

check_interval --pattern "APL_*.NEF" --group

Additionally, there is a command to view all relevant EXIF tags from a single file, and how they are interpreted by the FileInfo class.

reloci_info path/to/a/file.jpg

Installation

If desired create a virtual environment then install this package from PyPI

pip install reloci

Setup for development

Create a new virtual env with Python 3.13 and install the requirements:

pip install -e .[test]

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

reloci-7.0.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reloci-7.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file reloci-7.0.tar.gz.

File metadata

  • Download URL: reloci-7.0.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.2

File hashes

Hashes for reloci-7.0.tar.gz
Algorithm Hash digest
SHA256 6ff3ba6c8ca274b49ac78c2f3a295345e6a0db6c5aec0a3a4c07e0675247f66f
MD5 00a0665141490c6771cec6ee5571563d
BLAKE2b-256 bf47dccce121b29fbace84460bb7c1e40cc84f7b0fb11f737f7a5881c0bce30c

See more details on using hashes here.

File details

Details for the file reloci-7.0-py3-none-any.whl.

File metadata

  • Download URL: reloci-7.0-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.2

File hashes

Hashes for reloci-7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d2824be1db628e8fd297b0c3ef5cf74478b488e782641d1ac85328948c917011
MD5 ac7c8933caa03258c8bb77cc916eb7e5
BLAKE2b-256 61ddc13af9c6ecee9050599cb64c5999f164c0985607dcd24701f6f9b0be530c

See more details on using hashes here.

Supported by

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