SmartRename :: File Renamer

Posted Saturday, March 08, 2008 2:37 PM by Nathan Zaugg

Last week our camera card filled up.  Like most people, we'd almost rather buy a new, bigger card rather than try to go through the process of getting the photos onto the computer, processed, and burned to CD's.  We decided that with about 2GB of pictures and videos on our cards we better download them.  My wife, Tiffany, likes to rename all of the photo's from their naturally intuitive name like "DSC0001253.JPG" to something a little more clear like "February 2008-01.JPG" and so on.

With literally hundreds of images to rename (and she did this all by hand) I literally felt pain as I watched he do this for only a minuet or two.  I got an idea for a program and I was sure I could have it written before she could finish her current folder.  Well, it was a tie but now we have this nifty little application that will rename the files for us.

Here is a screen shot:


  1. Select the path of the photo's you wish to rename.  If, for example, you want to rename a months worth of photo's, move them into their own folder first.
  2. You may use the "..." button to browse to the folder.
  3. Select a name format.  This is the way the photo's will  be renamed.  The tricky part is to make sure and put the "{0:000}" in the string.  This is where the number is going to go.  The first zero indicates that is is the first (only) parameter passed into the string format function.  The "000" after the colon is the numeric formatter.  The formatters are explained here.
  4. Select the type of file you wish to rename.  For example if your camera is like ours it will also take videos.  You don't want to accidentally rename a .AVI to a .JPG because it will no longer work. 
  5. When you are done, press the "Run" button.  Before it renames any file it will verify the format with you (see below).
  6. You will see full progress indicators and it should only take a second or two even to do thousands of files.


As always, please drop me a line when you download it and let me know if you like it, hate it, or whatever!


Filed under: , ,