Have BRU ignore/dont apply changes to first few characters?

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

Have BRU ignore/dont apply changes to first few characters?

Postby shmellyman » Fri Dec 06, 2024 6:12 pm

Is there a way to get BRU to ignore a set amount of characters at the start of a filename? In other words, have BRU not apply my settings to a number of characters (for ex: the first 4 characters) of a filename?
shmellyman
 
Posts: 15
Joined: Thu May 06, 2021 9:13 am

Re: Have BRU ignore/dont apply changes to first few characters?

Postby shmellyman » Sat Dec 07, 2024 2:55 am

Just to add, for example: Using replace (3) and Case (4) but not have it affect the first 4 characters of the filename.
shmellyman
 
Posts: 15
Joined: Thu May 06, 2021 9:13 am

Re: Have BRU ignore/dont apply changes to first few characters?

Postby Admin » Sat Dec 07, 2024 3:00 am

Use Name Segment:

Image

This section allows you to enter a specific segment of the filename that you want all the renaming criteria to apply to.
For example, specifying the Name Segment from 1 to 5 will restrict all the renaming criteria to just the first 5 characters of the filename.
In this way, you can apply the renaming criteria to only a part of the file name, like capitalize only the first 5 characters or replace only the first 5 characters, etc.
Negative positions are also supported, where the position is evaluated from the end of the name, e.g., from -5 to -2.

To segment the file name from position 5 to the end use from 5 to 0

You can change the order of the name segmentation in the renaming criteria using Special (14) Order

You can also use text and position in the Name Segment.

For example, you can set Name Segment -> From to '-': this will look for a '-' character in the file name and apply the name segment from there.
If you specify Name Segment->From: - and Name Segment->To: -, this will segment the file name from the first '-' to the second '-'.
You can also specify a position for the text, for example Name Segment->From: -,2 (comma separated) means from the second - in the file name.
Using Name Segment->From: ( and Name Segment->To: ) will segment the file name from the first open parenthesis to the first closed.
Using Name Segment->From: _ and Name Segment->To: _,3 will segment the file name from the first underscore to the third.
Using just Name Segment->To: _,2 will segment the file name from the beginning of the file name to the second underscore.
Admin
Site Admin
 
Posts: 2721
Joined: Tue Mar 08, 2005 8:39 pm


Return to BRU Support