regex in batch file rename

afb's Avatar

afb

17 Apr, 2012 08:15 AM

I am sure I am not the only user welcoming the new batch rename feature with open arms. However, I cannot seem to figure out the appropriate syntax for referencing groups. In perl, for instance, one uses parentheses to define groups in the pattern, and $1, $2, etc. to refer to them in the replace string. Does PF's implementation have this?

Also, am I the only one who would like this window to retain size and position?

  1. Support Staff 1 Posted by Dragan on 17 Apr, 2012 07:31 PM

    Dragan's Avatar

    For en example how to use groups references, take a look at the attached picture.

    As of window position, the idea was that you can start more batch rename sessions. Every time you select more files and choose to rename, a new widow (for selected files) will appear.

    We;ll probably refine this design in the future.

  2. Dragan closed this discussion on 17 Apr, 2012 07:31 PM.

  3. afb re-opened this discussion on 17 Apr, 2012 10:17 PM

  4. 2 Posted by afb on 17 Apr, 2012 10:20 PM

    afb's Avatar

    Ah, that was obvious. Something else wasn't working for me.

    And, yes, more than the window, saving patterns would be most appreciated!

  5. 3 Posted by Don Eitner on 17 Apr, 2012 11:14 PM

    Don Eitner's Avatar

    This is one of the best new features in Path Finder. Would love to see option added to save patterns (both RegEx patters specifically and bath rename rules in general).

  6. 4 Posted by Damazio on 17 Apr, 2012 11:19 PM

    Damazio's Avatar

    Thanks guys, don't forget to cast your suggestions on the Feedback Page.

  7. Damazio closed this discussion on 17 Apr, 2012 11:19 PM.

  8. Dragan re-opened this discussion on 25 Apr, 2012 03:44 PM

  9. Dragan closed this discussion on 25 Apr, 2012 03:46 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac