Skip to main content

RawFinder - Find a corresponded raw file

RawFinder is a Python tool to help photographers and image processors locate and manage RAW files corresponding to JPEG images. It efficiently scans directories, searches for matching RAW files, and moves them to a specified location.

Installation

Install via pipx:

$ pipx install rawfinder

How to use

$ rawfinder

Usage: rawfinder [OPTIONS] COMMAND [ARGS]...

  RAW Photo Organizer CLI Tool

Options:
  --verbose              Enable debug output
  --config PATH          Custom config file path
  --handler-type [rich]  Type of logging handler (rich for colorful output,
                         default for standard)
  --log-file PATH        Path to file where logs will be written
  --help                 Show this message and exit.

Commands:
  process  Organize RAW photos by matching them with JPEG counterparts.
  config   Manage application configuration

   poetry run rawfinder config                                                                                                             [.venv] vit@Vitaliis-MacBook-Air
$ rawfinder config
Usage: rawfinder config [OPTIONS] COMMAND [ARGS]...

  Manage application configuration

Options:
  --help  Show this message and exit.

Commands:
  init      Initialize configuration file
  path      Show config file location
  edit      Edit config file in default editor
  delete    Delete config file
  validate  Validate current configuration
$ rawfinder process
Usage: rawfinder process [OPTIONS] PHOTOS_DIR SOURCES_DIR DEST_DIR

  Organize RAW photos by matching them with JPEG counterparts.

  PHOTOS_DIR - directory with photos (JPEG files)

  SOURCES_DIR - directory with sources files (RAW files)

  DEST_DIR - destination directory for sources (RAW files matched with JPEGs)

  Note: Global options like --verbose, --config, --handler-type, and --log-
  file can also be used.

  Use `--log-file PATH` to write logs to a file. Run `rawfinder --help` for
  details on global options.

Options:
  --overwrite
  --dry-run                       Simulate operations without actual changes
  --reporter [rich|plain]         Progress reporting style
  --verify-checksum STR_TO_BOOL   Verify checksums of copied files
  --verify-checksum-chunk-size INTEGER
                                  Chunk size for verifying checksums
  --photos-extensions TEXT        Custom photos file extensions (e.g.,
                                  --photos-extensions .bmp --photos-extensions
                                  .png)
  --sources-extensions TEXT       Custom source file extensions (e.g.,
                                  --sources-extensions .tiff --sources-
                                  extensions .pdf)
  --help                          Show this message and exit.

Example

Find raw files in ~/Pictures/raw folder for jpeg files in current folder, copy them to raw folder inside current folder (name by default):

$ rawfinder . ~/Pictures/raw ./raw

Development

Install

$ make install

Tests

$ make test

Linters

$ make check

Metadata

Release files for rawfinder 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rawfinder 0.3.3
File Size Uploaded Provenance
rawfinder-0.3.3.tar.gz 12.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for rawfinder 0.3.3
File Interpreter ABI Platform
rawfinder-0.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 29.4 kB

Release files / rawfinder-0.3.3.tar.gz

Download URL rawfinder-0.3.3.tar.gz
Size 12.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b804e65fe394b9495d2939cc4ce4e180a5c4f3d2acb70d233a5005be887c32a1
BLAKE2b-256 checksum
How to use checksums
3d53d9c1029d4c9ba0e592209f62978371af11115152b67366d89a0af625c750
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.11 Linux/6.8.0-1021-azure

Release files / rawfinder-0.3.3-py3-none-any.whl

Download URL rawfinder-0.3.3-py3-none-any.whl
Size 16.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f6d859ae1b21a1722696c8655aa9ea91b9e6c1a39ee7a02cba14b13edd6bbd49
BLAKE2b-256 checksum
How to use checksums
9d28a0aacc1e887156f37b3e20f0a3b61a6e872b793c2e65fd890b01e4fe1700
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.11 Linux/6.8.0-1021-azure

Security for rawfinder 0.3.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page