Filename Find and Replace

Do you ever need to rename a lot of files in a particular way? I have a utility to help out…

I was trying to rip CDs to MP3 for my Creative Nomad player tonight. I normally use FreeRip which does an excellent job and is highly customisable, but it couldn’t seem to fetch the CD details.

So, I fired up Windows Media Player, but the problem here was that it wouldn’t quite name the tracks right for the Nomad. The Nomad is slightly fussy. It required Artist, Album, Track Number and Track Name in the filename, with a space/hyphen/space separator. Windows Media Player would only rip to a format with hyphens separating. So, I needed to replace the “-”s in the filename with ” - “s instead.

I nearly coded up the thing myself. Not exactly tricky, but then I discovered Regex Filename Find and Replace on Codeproject for Windows, which did what I wanted, and even came with the C# code. It will do regular text copying, but if you know regular expressions, it will be more powerful.

2 Responses to “Filename Find and Replace”

  1. My Creative is lying sadly unused since I went over to The Dark Side and bought a Mac.

    I must say, they are cooler to use than an iPod, and, more importantly, the volume setting goes all the way up to “hurts your ears” rather than just “loud enough if there’s no background noise” which is the maximum setting on an iPod.

  2. […] - bookmarked by 5 members originally found by isra90g on 2008-11-05 Filename Find and Replace http://www.timalmond.com/2008/08/14/filename-find-and-replace/ - bookmarked by 5 members […]

Discussion Area - Leave a Comment