Sequentially run multiple saved .bru files

Would you like Bulk Rename Command to offer new functionality? Post your comments here!

Sequentially run multiple saved .bru files

Postby Lightpainter » Wed Sep 15, 2021 10:50 pm

I regularly use this awesome program to rename large folders of user-submitted image files from competitions to get them standardised for another script process, and I need to run through many steps to deal with all the various non-standard naming the many submitting users invariably use. Removing extra spaces, dashes instead of underscores, removing bits, adding bits etc. Each step uses regular expressions, so I have to run about 10 saved .bru files in sequence. It would be very handy if these could be run as a batch to cycle through on the same folder to save loading and running each in turn manually.
Lightpainter
 
Posts: 1
Joined: Wed Sep 15, 2021 10:32 pm

Re: Sequentially run multiple saved .bru files

Postby Luuk » Wed Sep 15, 2021 11:38 pm

The brc command-line grants saying many different /regexp:"match:replace" on the same command-line.
But also a batch could just use many different brc command-lines, if this way could be easier??

The bru graphical has 'v2' regexs, so granting (?X) to separate many different 'Match' and 'Replace' like...
Match1(?X)Match2(?X)Match3(?X)...
Replace1(?X)Replace2(?X)Replace3(?X)...
Luuk
 
Posts: 689
Joined: Fri Feb 21, 2020 10:58 pm


Return to Suggestions


cron