home > projects

pt

A command line tool that have various sub commands which help me manage my personal photo archive:

pt is a bespoke tool which most likely wont be of much use to anyone except myself.

Source

git.compounddata.com/pt

Config

pt uses a config file stored in $HOME/.config/pt/config.json.

An example config file:

{
   "db_file": "/home/rene/.config/pt/pt.db",
   "source_dir": "/media/phone-photos",
   "destination_dir": "/media/photos",
   "device_names": {
       "none": ["/media/other-photos"],
       "rene": ["/media/phone-photos/phone-a", "/media/phone-photos/phone-b", "phone-c"],
       "kids": ["/media/phone-photos/kids-phone"],
   }
}