Page 1 of 1

Renaming files within a directory only ending in 7z

PostPosted: Sat Jun 29, 2019 3:57 pm
by breakfast
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

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

PostPosted: Sun Jun 30, 2019 5:16 pm
by therube
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.