Welcome!

Thanks for visiting. If you found this information interesting or useful (or you think I'm dead wrong about something) I'd like to invite you to leave a comment on this post. You can also subscribe to my RSS feed or sign up for email updates on the right-hand side of the page.

If you Digg what you StumbleUpon, find my writing del.icio.us, or are one of the Technorati, you know what to do:

Restoring from backups with F-Spot

I recently had to restore from backups on my laptop, and fortunately all of my pictures were backed up. When I went to import them into F-Spot, I noticed (to my dismay) that the dates on at least a third of the pictures were set to the current date instead of the date they were taken. No EXIF data?! Aghast, I set off in search of a solution.

F-Spot stores your photos in a %YYYY/%MM/%DD directory structure, which makes things easy. I wrote picture-toucher.pl, a perl script that uses File::Touch and DateTime to change the modification time on every picture file.

All of those files now have “noon” as their modification time, but it’s better than nothing. Because F-Spot uses the EXIF data when it’s available, nothing changes for files that have EXIF data.

Related posts:

  1. Two simple ways to recover photos from a broken SD card I just got back from a 18 day trip to...
  2. Fix missing thumbnails in Nautilus As I begin assembling the picture package for my J-term...
  3. Three steps to Open Source in the Church The history and legacy of the Church in the late...
  4. Reliable InnoDB hot backups There are number of blog posts out there that mention...
  5. A Brief Introduction to Emacs psvn Ideaworks edits most of its Perl using Emacs and stores...

Leave a Reply