Metadata-Version: 2.1
Name: rawfinder
Version: 0.2.2
Summary: This script finds corresponded RAW files for JPEG images.
Home-page: https://github.com/moskrc/rawfinder
Keywords: raw,finder,raw_finder,jpeg_raw,camera
Author: Vitalii Shishorin
Author-email: moskrc@gmail.com
Requires-Python: >=3.9,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: aiofiles (>=24.1.0,<25.0.0)
Requires-Dist: click (>=8.1.7,<9.0.0)
Requires-Dist: loguru (>=0.7.2,<0.8.0)
Project-URL: Documentation, https://moskrc.github.io/rawfinder/
Project-URL: Repository, https://github.com/moskrc/rawfinder
Description-Content-Type: text/markdown

# 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:

```bash
$ pipx install rawfinder
```

## How to use

```bash
$ rawfinder -h

Usage: rawfinder [OPTIONS] IMAGES_DIR SOURCES_DIR [DEST_SOURCES_DIR]

  Find corresponding RAW files for JPEG images and copy them to a DEST folder.

  JPEG_DIR - directory with JPEG files.
  RAW_DIR  - directory with RAW files.
  DEST_DIR - destination directory for RAW files.
             default is 'raw' inside the JPEG_DIR

Options:
  --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):

```bash
$ rawfinder . ~/Pictures/raw ./raw
```

# Development

## Install

```bash
$ make install
```

## Tests

```bash
$ make test
```

## Linters

```bash
$ make check
```

