Renaming many mixed-name files to numerical

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

Renaming many mixed-name files to numerical

Postby chiefcurmudgeon » Wed Jan 04, 2017 10:41 pm

I know I'm missing something simple, but I'm stumped:

I want to rename each of the files in a directory containing mixed filenames and file types. Examples:

tumblr_mou22guLthT1sc7v9fo1_500
DSC_4426.JPG
51551-19749.pdf
Football Schedule $ 3 11 Sep.xlxs
Obbie B alir.doc
100030b.jpg
1010-60.gif
merge 444.txt
etc.

I'd like to randomly [or, if necessary, sequentially] rename each file with a six-digit number -- retaining the file type, but no other characters:

103660
107415.jpg
331652.pdf
665344.xlxs
902334.doc
410323.jpg
235442.txt
etc.

I cannot figure out the proper combination of options in the utility's sort command page.

-Even when I set an increment of, say, 17, in the Numbering (10), command, the resulting file names increment by only 1.
-I can only get it to rename 99 files; then, the rest of the list remains unnamed.
-I cannot find the command to eliminate the leading _ character on the newly named files.

Can anyone help, please?
chiefcurmudgeon
 
Posts: 2
Joined: Wed Jan 04, 2017 10:18 pm

Re: Renaming many mixed-name files to numerical

Postby Emerkamp » Thu Jan 05, 2017 10:28 am

Hello:
-Even when I set an increment of, say, 17, in the Numbering (10), command, the resulting file names increment by only 1.
-I can only get it to rename 99 files; then, the rest of the list remains unnamed.
-I cannot find the command to eliminate the leading _ character on the newly named files.

- Did you try adding a (pad) value by the amount of digits you want. ie, 4 or 5. Sometime un-ticking and ticking back the counting section helps when counting sticks.
- maybe padding will help this also.
- make sure your using Prefix and nothing _ is inside (sep) box or added anywhere else. Also are you using (2) remove
Emerkamp
 
Posts: 111
Joined: Sat Aug 23, 2014 2:35 pm

Re: Renaming many mixed-name files to numerical

Postby therube » Thu Jan 05, 2017 6:37 pm

2:Name
Code: Select all
Remove


10:Numbering
Code: Select all
Mode:  Prefix
Pad:  6



Random, you could do with JavaScript, but that is beyond me.
therube
 
Posts: 392
Joined: Mon Jan 18, 2016 6:23 pm

Re: Renaming many mixed-name files to numerical

Postby chiefcurmudgeon » Thu Jan 05, 2017 9:45 pm

I don't really understand why, but both of these similar suggestions worked perfectly.

Many thanks! Happy New Year!
chiefcurmudgeon
 
Posts: 2
Joined: Wed Jan 04, 2017 10:18 pm


Return to BRU Support