Mass renaming across multiple folders

Post any Bulk Rename Utility support requirements here. Open to all registered users.

Mass renaming across multiple folders

Postby bnb2g » Fri May 31, 2013 6:01 pm

Hello everyone

I have thousands of files across multiple folders, and i only want to rename some of them. A large portion, maybe around half, of these files have the letters "QA" at the end of the file name (before the extension). I want to select only the files that have this text at the end and move the text to the beginning.
For example, i want "my_awesome_file_QA.tif" to be renamed to "QA_my_awesome_file.tif".
I have tinkered with the program enough that I basically understand I would be using the move/copy area, but i don't know quite how to go about it.
The other problem is doing this across hundreds of folders with all of the files inside, and NOT selecting the files that I don't need to change, which may be right next to the ones I DO need to change right in these folders.
There is no easy way for me to sort the files so that I could click and drag to select the ones I want to change, it needs to be more of a "find and replace" type thing.
I need to do this for my job, so I really don't want to screw it up.
Thank you for your time in reading this, I would be very grateful for a quick response.
bnb2g
 
Posts: 1
Joined: Fri May 31, 2013 5:35 pm

Re: Mass renaming across multiple folders

Postby Stefan » Fri May 31, 2013 10:52 pm

- be sure to have a recent backup
- work on copies of your important files

- select the top main folder
- check Selection(12)[X] Subfolders
- select all files in the Name column (the files who don't have that QA thinggy wont be affected on renaming anyway)

- enter your renaming rules
- check the NewName column if all would went fine, then rename



.
Stefan
 
Posts: 736
Joined: Fri Mar 11, 2005 7:46 pm
Location: Germany, EU

Re: Mass renaming across multiple folders

Postby truth » Thu Jun 27, 2013 1:39 pm

Options/Ignore/FileExt=Checked (lets . in your extension be selectable)
Next put *_QA.* in 12Filter to display only files ending as _QA
3Replace _QA. with . (keeps extension) and 7Prefix QA_
When you're finished, dont forget to put * back in your 12Filter

If theres a risk of multiple _QA. in your filenames:
Options/Ignore/FileExt=Checked (to match _QA. as _QA.extension)
Put *_QA.* in 12Filter to keep from seeing other files (that wont be matched anyway)
1RegEx Match/Replace:
(.+)_QA\.(([^.]+)$)
QA_\1.\2
truth
 
Posts: 221
Joined: Tue Jun 25, 2013 3:39 am
Location: Earth, OrionArm, MilkyWay


Return to BRU Support