Allow Chaining a Set of Renames as a Single Function

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

Allow Chaining a Set of Renames as a Single Function

Postby Dustydog » Sun Sep 18, 2016 11:31 am

You have a competitor that does it. How about you? I so much prefer BRU to their commercial offering, this was the only feature that made me drool.

I know one can save and load individual steps, but that isn't terribly elegant. You could even do something as simple as load filenames "1 This Chain", "2 This Chain", etc. sequentially to execute as they load, either automatically or step by step.

(Btw, love the interface, never change in a big way. Everything is where it ought to be, right there to be used. It didn't put me off from day one. No stupid menus to search through, it's just there.)
Dustydog
 
Posts: 11
Joined: Wed Mar 23, 2016 3:32 am

Re: Allow Chaining a Set of Renames as a Single Function

Postby therube » Sun Sep 18, 2016 2:17 pm

You might be able to approximate something, by setting up all your search conditions, then disabling all the checkboxes for the particular parts of the search, then enabling only those that can work together, 'Rename', then again uncheck those, & enable the next one(s) that can work together, 'Rename' ...

So if you need to do, separately & in order, a:

RegEx
Replace
& finally a Trim

Set up your parameters for each:

1.RegEx
> (.*)abc123(.*)
> /1 /3

2.Replace
> this
> that

5.Remove
> Trim

Uncheck the checkboxes that enable the rename actions.

Check the checkbox for 1.RegEx
Rename
Uncheck the checkbox for 1.RegEx

Check the checkbox for 2.Replace
Rename
Uncheck the checkbox for 2.Replace

Check the checkbox for 5.Remove
Rename

Done.
As a work-around, it can get the job done.
therube
 
Posts: 1314
Joined: Mon Jan 18, 2016 6:23 pm

Re: Allow Chaining a Set of Renames as a Single Function

Postby Admin » Mon Sep 19, 2016 5:37 am

Javascript renaming can do that (and a lot more) but the basic 1 to 13 rename operations in BRU cannot be sorted.
Maybe it would be useful to have an extra field where you can re-sort operations, e.g. typing 5,4,2 performs the operations in that order... what do you think guys?
Admin
Site Admin
 
Posts: 2343
Joined: Tue Mar 08, 2005 8:39 pm

Re: Allow Chaining a Set of Renames as a Single Function

Postby therube » Mon Sep 19, 2016 6:41 pm

Maybe it would be useful to have an extra field where you can re-sort operations, e.g. typing 5,4,2 performs the operations in that order... what do you think guys?

Well that would certainly alleviate having to go through the manual steps I described.
therube
 
Posts: 1314
Joined: Mon Jan 18, 2016 6:23 pm

Re: Allow Chaining a Set of Renames as a Single Function

Postby KenP » Mon Sep 19, 2016 7:34 pm

Admin wrote:Maybe it would be useful to have an extra field where you can re-sort operations, e.g. typing 5,4,2 performs the operations in that order... what do you think guys?

That would be a very useful and welcome feature.
KenP
 
Posts: 199
Joined: Sat Jul 30, 2016 11:25 am

Re: Allow Chaining a Set of Renames as a Single Function

Postby questionss » Tue Sep 20, 2016 12:43 am

Hey, I am using the bulk rename utility to rename a huge number of files of this format:
B00001.dat
B00002.dat
.
.
.
B24000.dat

I want to rename them in a way that I start with 1 and increment 3 every time in a way to have:
B00001.dat
B00004.dat
B00007.dat
B00010.dat
.
.
.

How can I do that? Please help!
questionss
 
Posts: 1
Joined: Tue Sep 20, 2016 12:33 am

Re: Allow Chaining a Set of Renames as a Single Function

Postby KenP » Tue Sep 20, 2016 1:09 am

questionss wrote:Hey, I am using the bulk rename utility to rename a huge number of files of this format:
B00001.dat
B00002.dat
.
.
.
B24000.dat

I want to rename them in a way that I start with 1 and increment 3 every time in a way to have:
B00001.dat
B00004.dat
B00007.dat
B00010.dat
.
.
.

How can I do that? Please help!

As this is the suggestions forum starting an new thread in the BRU Support forum might have been a better option :wink:

Anyway, with the files showing in BRU and ordered numerically:

~snip
edited out
~snip

Edit: I've just realised that could lead to problems with names that already exist so try this.

Add (7)
Prefix: B

Numbering (10)
Mode: Insert
at: 2
Start: 1
Incr: 3
Pad: 5 (or however many 0s you want to start with)

Remove (5)
Last n: 5

(The names should all start with BB so there shouldn't be any conflicts with existing names when you rename)

Rename
Reset

Remove (5)
First n: 1
KenP
 
Posts: 199
Joined: Sat Jul 30, 2016 11:25 am

Re: Allow Chaining a Set of Renames as a Single Function

Postby therube » Tue Sep 20, 2016 4:21 pm

B00001.dat
B00002.dat
.
.
.
B24000.dat

Renaming Options -> Rename in Reverse Order may help in this instance?
therube
 
Posts: 1314
Joined: Mon Jan 18, 2016 6:23 pm


Return to Suggestions