I had a batch of text files with names like "How to do this one cool
thing (it's really cool).txt", and I wanted to drop them into
DokuWiki, but it won't accept files with any characters other than
a-z, 0-9, -, and _. So I wanted to convert the names to all lowercase,
change the spaces to underscores, and strip out the special
characters.

I was gonna post a message to the list about it, but I decided to
search first, and here's what I found:

http://filerenameutils.sourceforge.net/

A collection of bash scripts that do EXACTLY what I wanted. lowercase
*, mv_spaces2underscores *, and mv_chars2null '(),!?' *

I figured I'd post it in case someone needs this in the future (bound
to happen, right?)

Joe

Reply via email to