Announcement

Collapse
No announcement yet.

Rename prefix and extension of files

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Aaron
    replied
    Re: Rename prefix and extension of files

    In the old mask you would use () in order to recall the found section, which in this case is a match on everything.
    Old mask: (.*)

    Then in the new mask, you want to add "foo." to the front and ".done" to the back. $1 will recall the () text found.
    New mask: foo\.$1\.done

    Leave a comment:


  • hurleystylee
    started a topic Rename prefix and extension of files

    Rename prefix and extension of files

    First off - Beyond Compare is a fantastic product! Thanks!

    I'm trying to rename numerous files at once. It appears as though using Regular Expressions is my best bet, but I'm having trouble controlling the complexity of them. The help files don't lead me down the right path either.

    For example, I'd like to change files:
    TEST.123
    ABC.456

    to

    FOO.TEST.123.done
    FOO.ABC.456.done
Working...
X