moskrc / rawfinder

Find the corresponding raw files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RawFinder - Find a corresponded raw file

What is it?

This script finds corresponded RAW files for images.

How to install

$ pip install rawfinder

How to use

$ rawfinder -h

usage: rawfinder [-h] [-t TARGET] [image_dir] [raw_dir]

Find corresponding raw files for images

positional arguments:
  image_dir             directory with images
  raw_dir               directory with RAW files

optional arguments:
  -h, --help            show this help message and exit
  -t TARGET, --target TARGET
                        destination dir

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 -t ./raw

Development

Install

$ poetry install

Tests

$ poetry run make test

Linters

$ poetry run make format

About

Find the corresponding raw files


Languages

Language:Python 90.3%Language:Makefile 9.7%