« Good day | Main | My best ideas do not come at my best times »

Loopy

On a tip from Brent (in response to my whining last month) I set in to the latest round of image rasterizing with my new command-line tool: the bash “for” loop. It was hugely useful in sorting the images into folders, through I needed to remember to be careful with wild-card characters. bash, as it turns out, is exactly the picky sort of language I have little experience with, where spaces in a script change what the neighboring symbols mean and cause the shell to complain mightily.

My next project is figuring out a more elegant way to zero-pad single-digit numbers, since we usually express chapter numbers in double digits in these filenames.

Now Playing: Waiting For Somebody from Singles Soundtrack by Paul Westerberg

Post a comment