Batch rename files in bash

Lately I've been renaming a bunch of files. A bunch of files. The iPad app we're developing has over 8,000 asset files. It's an interactive storytelling app, so it's heavy on the visuals, and 7,000 of those files are .png image tiles belonging to an extensive Parallax-style comic book.

This is a super simple script but I find the bash syntax difficult to remember, so I'm putting it here to reference later.



blog powered by Pelican