I just discovered 'rename' today after briefly considering writing it myself. Here's the gist of it: rename [ -v ] [ -n ] [ -f ] perlexpr [ files ] So, for example: rename 's/(.*?), (\w+)/$2 $1/' *.avi Changes a bunch of videos from "World Is Not Enough, The.avi" to "The World Is Not Enough.avi" Hooray!
programming, electronics, photography, and tinkering