Glenn 2.0

Fun with exiftool!

So I'm moving some files from one Flickr account to another, and since there is no existing tool to do this directly, I have to download them and re-upload them. Unfortunately all the work I did adding titles and descriptions will be lost if I simply download the albums using Flickr's download button, because they don't write that data to the exif or iptc metadata in the image file.

So - I use Flickr Downloadr to handle the downloads, but it copies the title and description into a separate json file. I got to spend several hours beating my head against a brick wall until I finally found the correct syntax and a bash for-loop to extract this metadata from the json files and insert it into the image files. Now when I upload them, Flickr sees the metadata in the correct fields and auto-populates the Title and Description and all is well in the world.

Code has been added to my Code Snippets page, if you ever find yourself in a similar place…

Latest 3 Posts

  1. Speculative Extinctions science extinction

    The first seeds of doubt in the 'consensus' view on climate change came about in a rather roundabout way. First, I was reading about yet another dire astronomical number of extinctions that were already under way both now and in the near future (caused, at least in part, by...READ MORE

  2. Sea Levels science

    Depending on which coast you look at, the longest-running tide gauges all show the same story - 2-3mm/year or 11 inches per century of sea level rise. This doesn't change even when you take rising and falling ground levels into account, or GPS being added to the tide gauge...READ MORE

  3. Coral Reefs science

    They regularly go through bleaching episodes, generally tied to ENSO events. For years each one of these bleaching events were immediately tied to climate change. The reefs have been predicted to die off permanently for decades now. One recent study that went so far as to project...READ MORE

More posts can be found in the archive.

← Home