Script-fu

| | Comments (0)

I've got a bunch of scripts on my fileserver to help me manage all the tedium of maintaining my filing scheme. A few of these are related specifically to my image gallery—in specific, there's one that I run which A) copies original high-res images to a high-res directory, B) resizes everything, and C) thumbnails it all.

The problem with this is that there wasn't (until a few seconds ago) an interlock to keep me from overwriting any existing high-res images. If I run the script in a directory where it's already been run, it'll blow away the high-res images with lower-res versions.

Usually this isn't a problem. In fact, in the several years I've been using this script, it's never been a problem. Most of this has to do with the fact that I simply don't have similarly named directories.

This has changed recently with the rush of aleph directories. Today I typo'd a directory name—20050316-aleph instead of 20050416-aleph, and subsequently blew away all the high-res copies of Aleph right after his first bath.

Fuck.

Leave a comment

Pages

Powered by Movable Type 4.12

About this Entry

This page contains a single entry by milkman published on April 17, 2005 9:16 PM.

ACM Excitement was the previous entry in this blog.

Fin is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.