jBr

jBr is a collection or command line tools to manage your photo library.

The objective of this collection of tools is to provide commands to help manage your photo library, in particular thanks to the timestamp of the photos and the keywords allowing you to categorize them.

Inpired by jBrout.

Quick Start

Launch

After being installed, simply launch:

$ jbr.py

See --help for commands/options.

Commands

metadata:

Display metadata (EXIF/IPTC) of given files.

Ex. with --full to display all metadata (EXIF/IPTC/XMP):

$ jbr.py metadata -f "path/to/*.jpeg" /path/to/*.jpg
filter:

Filter files accordingly to their tags.

Ex. display all files:

$ jbr.py filter "path/to/*.jpeg" /path/to/*.jpg

Ex. filter files with given tags:

$ jbr.py filter +f avion +f "salon de provence" "path/to/*.jpeg" /path/to/*.jpg
keywords:

Add/remove keywords from given files.

Ex. display all keywords:

$ jbr.py keywords "path/to/*.jpeg" /path/to/*.jpg

Ex. add/remove given keywords:

$ jbr.py keywords +k "aix en provence" -k aix +k meeting "path/to/*.jpeg" /path/to/*.jpg
timestamp:

Rename files accordingly to their timestamp (pYYYYMMDD_hhmmss).

Ex. with --keep option to not override files:

$ jbr.py timestamp -k "path/to/*.jpeg" /path/to/*.jpg
strip:

Strip metadata (EXIF) of given files.

Ex. (be carefull):

$ jbr.py strip "path/to/*.jpeg" /path/to/*.jpg
convert:

Convert given files from HEIC to JPEG format.

Ex. with --archive option to archive original files (into heic/ subdirectory):

$ jbr.py convert -a "path/to/*.heic" another/path/to/*.heic
thumbnail:

Re-create thumbnail (EXIF) of given files.

Ex.:

$ jbr.py thumbnail "path/to/*.jpeg" /path/to/*.jpg
transpose:

Correct orientation accordingly to EXIF metadata.

Ex.:

$ jbr.py transpose "path/to/*.jpeg" /path/to/*.jpg

GUI integration

Open with

Copy tools/jbr-*.desktop files into ~/.local/share/applications/ and tools/jbrout.png file into ~/.local/share/icons/ directories in order to be able to select files in files explorer with "Open with" commands.

GUI

Simple Tkinter ask dialogs with --tkinter option:

$ jbr.py --tkinter keywords
$ jbr.py --tkinter filter +f avion +f meeting "path/to/*.jpeg" path/to/*.jpg

-- MiKael NAVARRO <klnavarro@mailo.com>