Automatically Reorganize Photo Folders by Photo Taken Date

Foreword: This post is not specific to Picasa, so don’t be put off by the first couple paragraphs if you don’t happen to use it.

I love Picasa, but for the longest time it had a major annoyance: when downloading photos from your camera it would stick them in a folder dated according to the download date, not the date the picture was actually taken. This has been fixed in recent versions of Picasa, and there is now an option when importing to organize the downloads by date taken:

The problem is, the folder names are what is displayed to you in the Picasa interface, and I had almost 6,000 old photos stored in folders according to download date rather than taken date. I needed a way to automatically reorganize my old photos into a consistent directory structure that used the right dates. I thought I’d find a free tool that would do this easily, and I did, but it’s not easy for a casual user, so I thought I’d write up the steps.

First, MAKE A BACKUP. You have been warned. Okay, backup safely stowed away, go to wherever you keep your photos. We’ll call it Pictures. You probably have a pile of subdirectories there that that look like this:

In Pictures, create a folder called “old”. Move ALL the subfolders and photos from Pictures to Pictures/old:

Next, download ExifTool and unzip the contents to the “old” folder. Rename the resulting file from exiftool.exe to exiftool.exe. This is the tool that will do all the renaming work for you.

So now the “old” folder should contain all your photos (most if not all in badly dated subfolders) and exiftool.exe. While holding down the SHIFT key RIGHT-click the “old” folder. Pick “Open Command Window Here” (note that this option will only appear if you are right-clicking a folder in the RIGHT Explorer pane - stupid Windows). At the prompt, type:

<blockquote>exiftool “-Directory<DateTimeOriginal” -d “../new/%Y-%m-%d” -r .</blockquote>

… and hit ENTER. After churning for awhile and possibly throwing a ton of warnings (some might be important, although for my run none were), it will eventually finish like so (I’ve included some sample warnings):

At this point, most of if not all of your photos have been moved from the “old” directory to a set of properly dated subdirectories in a new “new” directory:

If you’re like me though, some photos (and all videos) might lack the metadata needed for ExifTool to work its magic. I was going to suggest you use Windows Search to find those files, but I just tried that, and it sucks mightily. It missed a TON of photos and videos that I would have lost had I not double-checked. Stupid Windows. So instead, install the Everything search engine, let it do its indexing, then right-click the “old” folder and pick “Search Everything…”

(If I were the MS employee in charge of search I’d hang my head in shame for being so outclassed by a third-party file finder.)

You can then copy-and-paste (or cut-and-paste, or drag-and-drop) all the photos (be sure to look for video files too) that were left behind and put them in a new folder under “new” called “undated” (or whatever you want).

Finally, move all the properly dated subfolders under “new” back up to Pictures, and delete the “old” and “new” folders. The next time you fire up Picasa it might take awhile for it to load as it recompiles all the metadata and whatnot, but when it’s done its UI should reflect the new properly dated folder structure. And since it will respect this structure on future imports, you’ll hopefully never have to do this again.

Sushi Etiquette

I really like this sushi etiquette graphic Swissmiss posted, especially in combination with reader Emily’s comments:

Two More Grayscale Games

Funny, the last three three games in a row to have grabbed me are all grayscale. There was the aforementioned Grayscale, and then on its heels came Endless Migration (okay, that one has the occasional splash of red) and Hoshi Saga (there are also sequels I haven’t tried yet: Hoshi Saga 2, Hoshi Saga 3, and Hoshi Saga Ringo). (via kottke)

Grayscale

Grayscale is a lovely puzzle game (use arrow keys to guide your little dot to the big dot). (via jay)

No Cheating Evolution

Evolutionary biologist Michael Lynch thinks human evolution is going to start working against us, and will lead to a devastating decline in our health.. We have gotten too good at compensating for all the little mutations that would get weeded out without modern medicine.

Orchid Children

I printed out The Science of Success for bedside reading, but until I get to it the thing that grabbed my eye from Jason Kottke’s excerpt was this:

With a bad environment and poor parenting, orchid children can end up depressed, drug-addicted, or in jail — but with the right environment and good parenting, they can grow up to be society’s most creative, successful, and happy people.

Shit, no pressure! I hope I have dandelion kids.

Terrorball

Fantastic post on terrorism, which opens with a band-beating metaphor:

I’m quite sure I could beat LeBron James in a game of one on one basketball. The game merely needs to feature two special rules: It lasts until I score, and as soon as I score I win. Such a game might last several hours, or even a week or two, and James would probably score hundreds and possibly thousands of points before my ultimate victory, but eventually I’m going to find a way to put the ball in the basket.

So, so good. Read now.

Avatar == Pocahontas

I loved Avatar, but this Pocahontas comparison is perfectly done, so apt.

Robokill 2

One of my favorite games from the blow-lots-of-stuff-up genre has a sequel: Robokill 2.

Male Pattern Madness

This is old news, but new to me. The folks behind the OkCupid dating site have a weblog where they analyze all kinds of interesting dating data. We all know that looks matter, but their number crunching is still fascinating.

Update: See also Your Race Affects Whether People Write You Back. Heck, just subscribe to the OkTrends weblog and read it all.

Playdoh Recipe

I lost the link where this came from, but I found this Playdoh recipe in a forum comment somewhere, and it’s great:

3 cups flour 1/3 cup salt 2 tbsp vegetable oil 1 cup water 7 drops food coloring

Mix dry ingredients with oil. Add food coloring to water and mix together. Add water to flour/salt/oil mixture slowly, about 1/4 cup at a time and mix together with a spoon. Once you’ve added all the water, knead the dough with your hands.

Upular

Upular: “composed using chords, bass notes and vocal samples from the Disney Pixar film Up.” Totally new and original sounding, yet still capturing the feel of the movie somehow. I love the shift at 1:28.

« page 51 / 121 »