Rename sequential numbers

Bulk Rename Utility How-To's

Rename sequential numbers

Postby paulk » Thu Jul 01, 2021 3:10 pm

I have a bunch of files who's names were altered by an android gallery app without any extensions.

If I manually rename to add an extension they work fine so not encrypted.

Problem is they are a long string of HEX charactors.

I had no problem adding the extension but cannot seem to find a means to rename all files to just a series of numbers. 1.mp4, 2.mp4..5.mp4,..so on.

Ideas
paulk
 
Posts: 1
Joined: Wed Jun 30, 2021 10:45 pm

Re: Rename sequential numbers

Postby therube » Thu Jul 01, 2021 4:15 pm

2:Name -> Remove

10:Numbering, Mode: Prefix
therube
 
Posts: 1393
Joined: Mon Jan 18, 2016 6:23 pm

Re: Rename sequential numbers

Postby mhouse777 » Wed Jun 05, 2024 1:29 am

Hello,

How do I get BRU to load the files in the same order that they are in the origin folder? ...ie...in the origin folder the files are in order ...image (1) , image (2) , image (3) ...etc up to 40. In BRU , they are loaded ..image (1) , image (22) , image (15) etc and as a result, BRU incorrectly renames the files , so per the example above , BRU converts.... image (1) ->1.png , image (22)-> 2.png , image (15)->3.png etc. I'm guessing it has something to do with the brackets "( )", but i'm not sure.

Thanks.
mhouse777
 
Posts: 2
Joined: Wed Jun 05, 2024 12:46 am

Sort number-strings numerically

Postby Luuk » Wed Jun 05, 2024 5:22 am

@mhouse777 Must put a checkmark inside for the menu "Display Options, Sorting, Logical Sorting"
Then can click the "Name" column, so the number-strings will sort either ascending or descending.
Luuk
 
Posts: 771
Joined: Fri Feb 21, 2020 10:58 pm

Re: Rename sequential numbers

Postby mhouse777 » Thu Jun 06, 2024 2:00 am

perfect, thanks.
mhouse777
 
Posts: 2
Joined: Wed Jun 05, 2024 12:46 am

Re: Rename sequential numbers

Postby qandelin » Tue Jun 18, 2024 3:14 pm

I am a senior past his prime with computer stuff so I would appreciate any help you can provide.

I have a folder with about 250 JPG files that have a 5 digit sequence number at the beginning of the file name.

What I would like to day is remove the existing sequence numbers and replace them with a new sequence number starting with 30 and incrementing my 30

Thanks
qandelin
 
Posts: 1
Joined: Tue Jun 18, 2024 3:00 pm

Re: Rename sequential numbers

Postby therube » Fri Jun 21, 2024 4:20 pm

5:Remove -> First: 5
10:Numbering, Mode: Prefix, Start: 30, Incr.: 30
therube
 
Posts: 1393
Joined: Mon Jan 18, 2016 6:23 pm

Re: Rename sequential numbers

Postby manzurfahim » Fri Aug 09, 2024 3:37 pm

Hello,

Any help would be really appreciated.

I have a number of files which I like to rename, and increase the numbers at the end by +37. I tried removing the last five digits and adding a suffix of the correct number with an incremement of 37, but it increments from the number I provided, not from the number the files had the end.

For example: IMG-13448 should be IMG-13485.

Files are not sequential, so I'd like it to read the number from file and add 37.

Second file is IMG-13450, should be IMG-13487.

Is there any way for the software to do this. Basically, any files with numbers at the end will get 37 added.

Many thanks in advance.
manzurfahim
 
Posts: 1
Joined: Fri Aug 09, 2024 3:29 pm

Increase numbers at end of filename

Postby Luuk » Fri Aug 09, 2024 5:16 pm

With having the paid version, this can add 559... http://www.bulkrenameutility.co.uk/forum/viewtopic.php?f=2&t=4849#p13292
So inside of that javascript code, could probably just change the +559 ---> +37.
Luuk
 
Posts: 771
Joined: Fri Feb 21, 2020 10:58 pm

Re: Rename sequential numbers (Add Number)

Postby Admin » Mon Aug 12, 2024 11:18 am

Javascript renaming:

Code: Select all
const myArray = name.split("-");
newName = myArray[0] + "-" + (Number(myArray[1])+37);
Admin
Site Admin
 
Posts: 2662
Joined: Tue Mar 08, 2005 8:39 pm


Return to How-To