Small but useful scripts.
-
Two related Ruby scripts that fit into my photography workflow:
- tagsfromexposure reads metadata from the Exposure X4/X5 image editor, and applies OSX Finder tags based on the metadata. Files flagged as "pick" get the
TAG_YES
tag applied; files with 2 or more stars get theTAG_MAYBE
tag applied. This requires thenokogiri
gem and thetag
commandline utility, which you canbrew install
. - albumfromtags looks for images in the current directory with the
TAG_YES
orTAG_MAYBE
tags, and generates a static HTML image gallery of those images. It relies on sigal and thetag
commandline utility. You need to customise thesigal.conf.py.example
file (to include your own name), put that file somewhere permanent, and update the path to it in thealbumfromtags
script.
- tagsfromexposure reads metadata from the Exposure X4/X5 image editor, and applies OSX Finder tags based on the metadata. Files flagged as "pick" get the
-
kickstart is a tool to initialise an SVN repository for a new project. It creates a skeleton, checks it in, and checks out trunk into a new folder for you:
kickstart myproj "example project"
will create a new foldermyproj
with a trunk checkout. Edit the script to set your own repository location. I am aware of the irony of hosting this on github.