noglob zmv -W **/^*.flac **/*.flac

I just ripped a bunch of music into flac and I forgot to add .flac to the end of the files until I was mostly done. If you are using zsh (and you load the zmv module) the above line will rename all files that do not end in .flac to whatever they used to be, but with .flac at the end.


Posted Fri, Feb 27, 2009

If you're interested in being notified when new posts are published, you can subscribe here; you'll get an email once a week at the most.