Page 1 of 1

change structured random names through text?

PostPosted: Tue Apr 22, 2014 8:12 am
by duketv
Dear all,

I have a few files who have slightly different content in multiple projects, so the beginning of their names are the same but the end is different. All of them need to be renamed at the end of each project to the same name. It goes somthing like this:

1.WPS project 1 --> blablabla1
2. PQR project 1 --> blablabla2

1. WPS project 2 --> blablabla1
2. PQR project 2 --> blablabla2

Because the first part of the names are the same (1.WPS or 2.PQR) but the rest is not (project 1, project 2. etc..) and desired names follow a pattern I wanted to use a text command something like this:

1.WPS*|blablabla1
2.PQR*|blablabla2

This doesn't seem to work as BRU probably thinks the * is a fixed symbol. Am I correct? Is there a workaround?

Many Thanks!
Duke

Re: change structured random names through text?

PostPosted: Thu Apr 24, 2014 7:35 pm
by truth
Rename-pairs will not translate wildcards, all text besides | is considered literal,
most likely to prevent multiple orignames going to the same newname?

Depending on filenames, I'd prob use regex for this, hard to say without more examples.
Example shows 2 separate OrigNames --> same NewName (separate directories)?