Conditional folder renaming based on content

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

Conditional folder renaming based on content

Postby laczhazy » Wed Jun 06, 2018 10:04 pm

I hope I'm asking this in the right place & this is an applicable application for my problem. :?
In my music library (/music/<artist>/<album>/files) I have quite a few albums that were pressed onto 180g vinyl as audiophile quality. I've flagged these as putting a tiny text file called "_180g.txt" into only those folders.

Is there a way to program recursively go through my whole /music folder and ONLY rename those album folders from <album> to <album-HD>?
In other words: simply append "-HD" onto the existing folder name *IF* that folder contains a file called "_180g.txt"

Is this even possible? Thank you so much for any help !
laczhazy
 
Posts: 1
Joined: Tue May 29, 2018 2:30 am

Re: Conditional folder renaming based on content

Postby therube » Thu Jun 07, 2018 2:00 pm

In Everything, search for:

child:_180g.txt

Drag the found folders into BRU.

I think that should do it.
therube
 
Posts: 1319
Joined: Mon Jan 18, 2016 6:23 pm


Return to BRU Support