puzzling.org · mary.gardiner.id.au

Whacked

Whacked is a really simple Python script that uploads photographs to Flickr.

Whacked is MIT licenced,

Whacked is run like this:

whacker.py dir-name [tag1 [tag2]...]

dir-name is a directory path. Whacked looks for a file in dirname called captions.txt with lines in this format:

FILENAME1::TITLE1::CAPTION1
FILENAME2::TITLE2::CAPTION

The second :: delimiter and third column (for captions) is optional.

Whacked uploads FILENAME1, FILENAME2 and so on to Flickr, taking the title and caption from the second and third columns of that file's entry in captions.txt. All photos will be tagged with any tags passed on the command line.

You can get Whacker from the Bazaar repository:

bzr branch http://bazaar.launchpad.net/~hypatia/whacked/trunk

Last modified: 08 November 2006