Skip to main content

phototrie (and other helper scripts)

Phototrie is a minimalistic application for quickly sorting through your photographs.

This repository also includes batchrename and datename, two commands useful for organising photographs.

Usage

phototrie

Run phototrie JPG in a directory where you have unsorted JPG photos.

CR2 photos in the same directory, or in a CR2/ subdirectory, with the same name will also be processed.

Wait a short while for thumbnails to be generated. Once this has completed, a window will pop up, showing your photos.

Press B to mark a photo as bad, G for good and P for pristine (future versions may allow custom names).

Phototrie will move them into directories with those labels as you go along.

datename

datename photo1.jpg photo2.jpg (etc)

e.g. datename *.JPG to process all JPG files in a directory.

This will rename photos to have their date (as stored in EXIF) as their name.

CR2 photos in the same directory, or in a CR2/ subdirectory, with the same name will also be processed.

Once you are ready to apply the changes for real, pass --apply (or -y).

batchrename

batchrename <regex> <replacement> photo1.jpg photo2.jpg (etc)

e.g. batchrename .JPG$ .jpg *.JPG

Once you are ready to apply the changes for real, pass --apply (or -y).

Installation

You will probably need to install (on Debian/Ubuntu):

apt install python3-dev python3-pip python3-tk python3-pil python3-pil.imagetk

Then you can use:

pip3 install --user phototrie

(or, install from this repository: pip3 install --user git+https://bics.ga/reivilibre/phototrie)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phototrie-0.1.1.tar.gz (5.5 kB view details)

Uploaded Source

File details

Details for the file phototrie-0.1.1.tar.gz.

File metadata

  • Download URL: phototrie-0.1.1.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for phototrie-0.1.1.tar.gz
Algorithm Hash digest
SHA256 73189fe05a6e147c552ace05686456b8741a7f5fa282cc06e65425b693869ebb
MD5 acb329fd6102b6d4a60fe4e17293de46
BLAKE2b-256 758e189d583db07e0d9eb4caf93aab412e0e274d4696b77e1e626c4052cd2be6

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 file

0.1.0

2 files

Supported by

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