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_YEStag applied; files with 2 or more stars get theTAG_MAYBEtag applied. This requires thenokogirigem and thetagcommandline utility, which you canbrew install. - albumfromtags looks for images in the current directory with the
TAG_YESorTAG_MAYBEtags, and generates a static HTML image gallery of those images. It relies on sigal and thetagcommandline utility. You need to customise thesigal.conf.py.examplefile (to include your own name), put that file somewhere permanent, and update the path to it in thealbumfromtagsscript.
- 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 foldermyprojwith a trunk checkout. Edit the script to set your own repository location. I am aware of the irony of hosting this on github.