Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at the New York ColdFusion User Group (Feb. 2008) with: Clark Valberg and Ray Camden

Flex Renamer - Most Awesome Bulk File / Folder Regular Expression Renamer Ever

By Ben Nadel on
Tags: Work

Flex Renamer uses regular expressions to rename files and folders. This is the best solution that I have ever seen for bulk renaming. And, it uses regular expressions! How cool is that. I am not sure if you can find this application online anymore, I am not even sure where I found it. I think that this application is Freeware so I am posting it here for your benefit.

Flex Renamer v7.3

Here is a small screen shot of how it works. It can recurse, rename, delete, move, copy, alter the date created, alter the date modified. It can upper case, lower case, put in time stamps, put in parts of the date, and so very much more. I am telling you, this application rocks!


 
 
 

 
Flex Renamer v7.3 Regular Expression Bulk Renamer  
 
 
 

One quick case study of where I have used it is when converting a ColdFusion driven site into a static site (for CD-Rom creation). Once you burn out the site, it's awesome for blazing through the directory structure and replacing .cfm files with .htm files (not to mention removing a bunch of other junk that "site burning" applications put into file names).


Looking For A New Job?

100% of job board revenue is donated to Kiva. Loans that change livesFind out more »

Reader Comments

Kevin,

I am Windows and am not familiar with this. Is that a Command Prompt type thing? Where would I find this? Can it handle regular expressions and recursion?

Reply to this Comment

Ben,

with the command prompt you can do "ren *.cfm *.html" and that will rename all the .cfm files to .html.

That aside, I love being able to rename with regular expressions. The flex tool is cool but I use XYPlorer for all my file browsing/organizing needs. It has supports regex renaming plus a whole lot more. It's not free but it's an excellent replacement of the crappy windows file shell. Check it out: http://www.xyplorer.com/

Reply to this Comment

Boyan,

XYPlorer looks pretty awesome. I downloaded the trial and am gonna give it a go at work. I love the whole bottom preview / info pain and the extended context menu. I can't quite figure out how to get that "favorites" frame to show on the bottom left, but I am working on it.

Thanks for the awesome link!

Reply to this Comment

Also, as far as the "ren" command, that is ok, but the Flex Renamer gives you a preview of all the files that are going to be updated. That just feels safer. Also, it can move things to the recycling bin. I am sure that "ren" has its place for certain people, but for me, the Flex Renamer interface and functionality cannot be beat.

Reply to this Comment

Ben,

I don't use "ren" - I was simply explaining the syntax. For XYPlorer, press F8 and that shows/hides the favorites. The option is called "Catalogs" and not "Favorites" in the menu under "Window" - I have no clue what it has two names.

Reply to this Comment

Hi - FIRSTLY, Superb Renamer!

erm... (There's always an erm eh?) - There's ONE feature that would make it DEFINITELY live up the name above, in conjunction with XBOX filename usage?

...and that's that when renaming, etc... an optional checkbox to ONLY rename matching files if the current filename lenght is LONGER than 38.3 chars - i.e. 38 chars, a full stop, and a 3 char extension? - Even better, and useful to everyone, would be a specified amount?...

i.e. I'd LOVE to be able to use your fantastic program with a condition that it leaves alone/does not rename any files that are already under the filename character size limit?

THAT would make this the "Most Awesome Bulk File / Folder Regular Expression Renamer Ever" for me at least!!! ; )

Please, please include this feature, as I haven't found ONE renaming application that allows this, in my travels so far, and it's driving me NUTS! - I have lots of files to rename, and the other logic in your program does EVERYTHING else that I need to catch to make them shorter, remove illegal chars, etc...

Thanks and best regards, and please, if I've missed the obvious (i.e. it already somehow does this), then please feel free to flame me!

Best regards,

Den.

Reply to this Comment

PS - Just found out from the previous posts (I'd jumped right into the forum from a link by mistake!) - that the author is MIA... : (

Ah well, if anyone else is thinking of bettering this great tool, then please keep my plea in mind! ; )

Cheers,

Den.

Reply to this Comment

Awesome tool!

By the way, the official site for Flexible Renamer is http://hp.vector.co.jp/authors/VA014830/FlexRena/ . Looks like version 8 beta just came out a few days ago.

Reply to this Comment

Brilliant! How is it such an amazing tool has been languishing in obscurity for years? This thing needs some promotion...

Thanks for bringing it to light ;)

Reply to this Comment

@Acatalept,

Yeah, this tool is awesome. The renaming feature is awesome; but, equally as badass is the ability to delete files based on patterns (such as deleting all files that end in .SVN).

Reply to this Comment

Flexible Renamer v8.0 was release on 3/9/2008

Go here ==> http://hp.vector.co.jp/authors/VA014830/FlexRena/

There are lots of enhancements. I like this software.

Reply to this Comment

@Den

I think this is the flexible renamer search regular expression you are looking for

[^.]{39,}|[^.]{39,}\.[^.]*|[^.]*\.[^.]{4,}

This will find all files with names which are longer than 38.3

It is made of three alternate expressions. The first find files with no extension, 39 chars or longer. The second find files with an extension where the first part is 39 chars or longer. The third find files with an extension 4 chars or longer.

cheers Jimbo

Reply to this Comment

@Den

Actually this is more complete.

[^.]{39,}|.{39,}\.[^.]*|.*\.[^.]{4,}

As some filenames can have more than one "." in them.

Jimbo

Reply to this Comment

This File Renamer softwares are very useful for people with vast amount of files in their desktop. I am simply amazed with this kind of tools because it helps me to manage and rename my files in just one click. This innovation is making everything more convenient for everybody.

What I use for big batch of file renaming is Rename Maestro. A single action is equals to a big batch renamed result!

Reply to this Comment

On a daily basis i have had an agonising renaiming process for every project. As a web designer working on custom site designs, once you rename one file there is inevitably 20 file dependancies that also need the reference changed. So the combination of GrepWin, and Flex Renamer is a killer combination for my needs.

Without these 2 tools my job is a nightmare, So i am just saying thanks and you are making at least one life slightly more pleasant.

Reply to this Comment

@Clariz, @Jason,

Yeah, the file renaming stuff is awesome! Especially when you are dealing with files that are batch created by another program. I have not tried GrepWin personally. Is that an in-file renamer kind of thing?

Reply to this Comment

@Ben,

Yeah, GrepWin is an in-file replacement tool- it searches through the chosen directories / sub directories and changes for example: Apples to Oranges inside all files. Makes seconds out of hours of endless opening and closing files.

Sorry for the delay in responding.

Reply to this Comment

Man, you made my day! I've using CKRename for years and this is an amazing tool, much better than anything I've ever used.
Thanks for sharing.

Reply to this Comment

Post A Comment

You — Get Out Of My Dreams, Get Into My Comments
Live in the Now
Oops!
Comment Etiquette: Please do not post spam. Please keep the comments on-topic. Please do not post unrelated questions or large chunks of code. And, above all, please be nice to each other - we're trying to have a good conversation here.