Renaming files within a directory only ending in 7z

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

Renaming files within a directory only ending in 7z

Postby breakfast » Sat Jun 29, 2019 3:57 pm

Hi all,

This is my first post, and I am glad to be a part of the community. I have a ton of files ending with an = sign, but I need to replace only these files that are located under a directory ending in 7z.

Example:

ParentDir1
|____> fileThatDoesNotneedReplacing=

ParentDir2_7z
|____>fileThatNeedsReplacing=

How can I recursively search for the 7z directories, and replace files within them containing '='' at the end. My goal is to append the '.7z' extension.
I hope that this is clear, and thank you for all your help! :D
breakfast
 
Posts: 1
Joined: Sat Jun 29, 2019 3:47 pm

Re: Renaming files within a directory only ending in 7z

Postby therube » Sun Jun 30, 2019 5:16 pm

I'd start with Everything & use that to copy the found files into BRU.

(The hardest issue I'm having is thinking up a similar data set to test against, anyhow, try something like...)

Set the Match Path option.
Then Search for:
Code: Select all
_7z  regex:=$


That might get you close.
therube
 
Posts: 1025
Joined: Mon Jan 18, 2016 6:23 pm


Return to BRC Support