topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 5:40 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Regex Renamer  (Read 14826 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Regex Renamer
« on: October 19, 2006, 04:28 AM »
Regex Renamer: Open Source Renamer using Regular Expressions

RegexRenamer is a powerful but simple user-friendly graphical tool used to batch rename files using regular expressions. Features realtime preview, file filtering, flexible case-changing, auto numbering, conflict detection, regex tutorial & reference,



from FreewareWorldTeam

crono

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 179
    • View Profile
    • Donate to Member
Re: Regex Renamer
« Reply #1 on: October 19, 2006, 01:54 PM »
Nice find Mouser :)

allen

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 1,206
    • View Profile
    • Donate to Member
Re: Regex Renamer
« Reply #2 on: October 19, 2006, 08:23 PM »
Looks to be terribly simplistic compared to other renamers (that also support regex) -- which is a good thing if you're just looking for a quick regex based rename without having to trudge through seemingly bottomless menus, panels, options.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Regex Renamer
« Reply #3 on: October 19, 2006, 08:30 PM »
allen, yeah thats the feeling i got - not really up to par with the power renamers, BUT it's simple and open source, so could be the basis for future work.

allen

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 1,206
    • View Profile
    • Donate to Member
Re: Regex Renamer
« Reply #4 on: October 19, 2006, 08:52 PM »
My favorite is still oscars -- which lists the files in a plain text field. I typically just copy/paste into EditPad, perform the rename regex there, then copy it back to oscars.  I love turning file structures into text files and back :)

logic7

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 20
    • View Profile
    • Donate to Member
Re: Regex Renamer
« Reply #5 on: October 21, 2006, 06:33 AM »
My favorite is still oscars -- which lists the files in a plain text field. I typically just copy/paste into EditPad, perform the rename regex there, then copy it back to oscars.  I love turning file structures into text files and back :)

It is a nice renamer with macro recording and playback, but still doesn't handle folders.

logic7

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 20
    • View Profile
    • Donate to Member
Re: Regex Renamer
« Reply #6 on: October 21, 2006, 06:43 AM »
Regex Renamer: Open Source Renamer using Regular Expressions

RegexRenamer is a powerful but simple user-friendly graphical tool used to batch rename files using regular expressions. Features realtime preview, file filtering, flexible case-changing, auto numbering, conflict detection, regex tutorial & reference,



Nice software, still can't handle folders or files on network places.

allen

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 1,206
    • View Profile
    • Donate to Member
Re: Regex Renamer
« Reply #7 on: October 21, 2006, 09:59 AM »
My favorite is still oscars -- which lists the files in a plain text field. I typically just copy/paste into EditPad, perform the rename regex there, then copy it back to oscars.  I love turning file structures into text files and back :)

It is a nice renamer with macro recording and playback, but still doesn't handle folders.


Um . . . yes it does?

logic7

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 20
    • View Profile
    • Donate to Member
Re: Regex Renamer
« Reply #8 on: October 21, 2006, 01:22 PM »
My favorite is still oscars -- which lists the files in a plain text field. I typically just copy/paste into EditPad, perform the rename regex there, then copy it back to oscars.  I love turning file structures into text files and back :)

It is a nice renamer with macro recording and playback, but still doesn't handle folders.


Um . . . yes it does?


I must have missed that, for me, it does not, neither that is mentioned in the documentation, nor on its web site.
And for some reason, it stops responding when I try to record a macro.

OK, I'll stop whining now.   :)
« Last Edit: October 21, 2006, 01:24 PM by logic7 »

xiperware

  • Honorary Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 6
    • View Profile
    • Donate to Member
Re: Regex Renamer
« Reply #9 on: December 16, 2006, 09:37 PM »
Thanks for your feedback guys - there's a new version out with many new features, addressing several of yours and others comments.


ChangeLog - v1.0 (12 Dec 2006)
- added feature to move/copy/backup matched files to another folder (with or without renaming)
- added manual path entry (inc support for network paths), with browse network button
- added rename folder support
- moved option checkboxes to menu, relocated help menu
- added ability to rename to subfolders
- added exclude toggle button to filter (allow filtering out files that match)
- fixed a couple of minor filter validation bugs, cleaned up behaviour of filter controls
- renaming now done in seperate thread
- added cancel button during rename operation
- added progress bar during rename
- added shift-rightclick context menus to match/replace/filter fields to insert regex elements
- added "reset every x files" numbering option
- numbering increment can now be negative (resulting number must still be positive)
- change case menu is now highlighted when an option is selected (same as move/copy menu)
- original filename is now shown instead of blank preview (ui change only, same functionality)
- added more extensive preview filename validation (also done during single rename)
- added warning if any files new name begins with a space or dot
- help menu-items are now disabled when help files are not installed
- fixed preview validation bug where under certain conditions there was an exponential slow-down
- fixed bug where validation wasn't detecting conflicts when renaming a file to a folders name
- made regex fields resizable, reduced overall minimum app size
- added disable splash screen checkbox to about dialog
- added option to remember window size & position
- added workaround to fix .NET ListView bug with horizontal scrollbar appearing in filelist
- made filelist columns non-resizable (to avoid buggy behaviour when expanded > window size)
- fixed bug where all shortcuts in a folder had the same icon
- updated help file, added two examples

Any other suggestions welcome.

Cheers

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Regex Renamer
« Reply #10 on: December 16, 2006, 10:16 PM »
Welcome to the site xiperware  :Thmbsup: :Thmbsup: :Thmbsup:
Program is looking great - it's wonderfull to hear that it's in active development  :up: :up: :up: :up:

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,288
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: Regex Renamer
« Reply #11 on: December 16, 2006, 10:17 PM »
Oooooo!!!

It's in C#!

Me likey that! :D

But then it uses CVS... :(  And that just seems too painful to be worth bothering with. :(
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: Regex Renamer
« Reply #12 on: December 16, 2006, 10:28 PM »
But then it uses CVS... :(  And that just seems too painful to be worth bothering with. :(

http://www.tortoisecvs.org/ :)

- carpe noctem

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,288
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: Regex Renamer
« Reply #13 on: December 16, 2006, 11:18 PM »
http://www.tortoisecvs.org/ :)

I already installed it, but... It requires a reboot (didn't bother with that yet), help has no examples, grating shattered glass sound effects when something fails (which really makes me want to abandon it entirely)...

i.e. I like the 'treat me like an idiot approach' of:

Step #1: Do this.
Step #2: Do that, and here's an example...

Yep. I admit it. I'm pretty lazy with some things and thouroughly subscribe to the "Don't make me think" line of thought. CVS looks pretty much 100% non-intuitive and I couldn't find any information on how to get it working properly in the docs. e.g. Port number? Beats me. Username? Where do I get that? There is no obvious information on it.

I'll probably try again the next time I reboot though. That might have been the problem (but probably isn't as most things with Windows Explorer manage things ok without a reboot).

The Regex Renamer looks like an interesting project, and it's in C#, so it's something I might be interested in, once/if I get over the PITA of CVS... At the moment CVS is just looking like an obstacle that I don't particularly care to jump over.

Or maybe I'm just being stubborn and grumpy again.

Does anyone know how to configure TortoiseCVS to connect properly? That would make me much less grumpy :)
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Regex Renamer
« Reply #14 on: December 16, 2006, 11:25 PM »
i have to comment on this.

CVS is evil.  I have used it a dozen times and EVERY time i find myself like Renegade, completely frustrated and without the slightest memory of how to configure it to connect to the server i want.

Occasionally i come accross a site that has its source on cvs which includes the step by step instructions for configuring the cvs connection settings - without that i'm lost.

xiperware

  • Honorary Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 6
    • View Profile
    • Donate to Member
Re: Regex Renamer
« Reply #15 on: December 16, 2006, 11:37 PM »
Configuring TortoiseCVS for Anonymous pserver Authentication
http://sourceforge.n...en/#anonymous_config - linked from the project CVS page (http://sourceforge.n...cvs/?group_id=177064).

Or the source is available as an optional componant within the installer. :)

Feel free to submit any patches via the patch tracker.

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,288
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: Regex Renamer
« Reply #16 on: December 17, 2006, 12:37 AM »
Configuring TortoiseCVS for Anonymous pserver Authentication
http://sourceforge.n...en/#anonymous_config - linked from the project CVS page (http://sourceforge.n...cvs/?group_id=177064).

Or the source is available as an optional componant within the installer. :)

Feel free to submit any patches via the patch tracker.

I looked at the CVS page, but couldn't get anything to work and gave up. Echoing mouser in slightly different works, "CVS is Satanic, a dark and obscure ritual requiring the sacrifice of your first born"...  From their own docs, "CVS is a complex tool." WTF? Why?

But thanks for letting me know that the source is available in the installer. I'll download that instead.

Cheers,

Ryan
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: Regex Renamer
« Reply #17 on: December 18, 2006, 06:05 PM »
Hm, I've only used TortoiseSVN (which was modeled after TortoiseCVS afaik :) ), but found that pretty intuitive and easy to use, hence why I recommended TCVS.

I've only ever checked stuff out from CVS, but that didn't really seem harder than subversion... you still need username/pass, and port number if a non-default is used.
- carpe noctem

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,288
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: Regex Renamer
« Reply #18 on: December 19, 2006, 09:45 PM »
Well, after shutting down the machine and giving it a cleaning, it looks like I've got some hardware problem, so I won't get to bother with Tortoise for a while.
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

xiperware

  • Honorary Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 6
    • View Profile
    • Donate to Member
Re: Regex Renamer
« Reply #19 on: January 11, 2010, 10:04 PM »
Small update released:

RegexRenamer v1.2
http://regexrenamer.sourceforge.net/

- major performance increase when working with large numbers of files
- default max file limit increased from 1000 => 10000, can be raised more via registry
- RegexRenamer.exe accepts an optional cmd-line argument to set the initial working folder
- added option to have "Rename using RegexRenamer" in explorer right-click menu
- added option to "Only rename selected rows" (ctrl or shift-click to select multiple rows)
- the "Enable realtime preview" and "Remember window position" options are now enabled by default
- fixed "Remember window position" on multiple monitors
- several misc bug fixes

Regards,
- xiper