#1 2012-12-22 21:15

Nestor
Member
Registered: 2012-12-18
Posts: 3

Changing arbitrary file names to a sequential numerical list

I use a digital camera to take pictures of repairs I'm doing so I can store those photos and refer to them the next time I'm doing the same repair on the same kind of equipment.  Unfortunately my camera number each photo I take with the prefix P10100?? where the ?? refers to the number of the photo, like P1010001, P1010002, P1010003, etc.

I use Renamer 5.60 to change those file names to A??, and B??, etc. depending on how many times I have to take new pictures as I proceed through the repair.

Is there any way to get Renamer 5.60 to rename a list like:

A001
A002
A003
B001
B002
C001
C002
C003
C004
C005

to:

01
02
03
04
05
06
07
08
09
10

?

Thanks for any help in this matter.

Offline

#2 2012-12-22 21:57

Stefan
Moderator
From: Germany, EU
Registered: 2007-10-23
Posts: 1,161

Re: Changing arbitrary file names to a sequential numerical list

Hi Nestor


FROM:
A001.ext
A002.ext
A003.ext
B001.ext
B002.ext
C001.ext
C002.ext
C003.ext
C004.ext
C005.ext

to:
01.ext
02.ext
03.ext
04.ext
05.ext
06.ext
07.ext
08.ext
09.ext
10.ext

DO:
First be sure your original files are in the right order (seems to be ok anyway in your case)

Then use this two rules:

Completely remove original name:
1) Delete: Delete from Position 1 until the End (skip extension)

Add the numbering in that order:
2) Serialize: Serialize Incremental from 1 step 1 and pad to length 2 as prefix


See our wiki for more info >>> http://www.den4b.com/wiki/ReNamer

.


Read the  *WIKI* for HELP + MANUAL + Tips&Tricks.
If ReNamer had helped you, please *DONATE* to Denis or buy a PRO license. (Read *Lite vs Pro*)

Offline

#3 2012-12-23 17:18

Nestor
Member
Registered: 2012-12-18
Posts: 3

Re: Changing arbitrary file names to a sequential numerical list

Stefan:
Thanks for the response.

So, if I understand this correctly, in the "Add Rule" dialogue box, if I click on "Delete" rule and then set "Count" to 5 (which is the longest name in my list), being sure that the "Skip Extension" box is checked, File Renamer will delete the first 5 characters of my file name, in which case, in each case it deletes the entire name.  When I click on the "Add Rule" button, the first 5 characters of each file name are deleted.

Then, in the "Add Rule" dialogue box, when I click on the "Serialize" rule and then set "Index Start", "Step" and "Repeat" all to "1", File Renamer sets the first name in the list to 1, and raises that number by 1 for each name in the list.  I could, hypothetically, set Index Start = 1, Step = 2 and Repeat = 2 to set the first, third, fifth, etc. file names to 1, 3, 5, etc. and then go back and set Index Start = 2, Step = 2 and Repeat = 2 to set the second, fourth, sixth, etc. file names to 2, 4, 6, etc.

Is this correct?

PS: Thanks for the link.

Last edited by Nestor (2012-12-23 17:20)

Offline

#4 2012-12-23 17:38

narayan
Senior Member
Registered: 2009-02-08
Posts: 471

Re: Changing arbitrary file names to a sequential numerical list

You don't need to delete the original names first.

Offline

#5 2012-12-23 18:03

Stefan
Moderator
From: Germany, EU
Registered: 2007-10-23
Posts: 1,161

Re: Changing arbitrary file names to a sequential numerical list

Just try it Nestor... as long as you do not click the Rename-button but the Preview-button only, you wont mess up your files.
On the other hand... it's always an good idea to test this with COPIES of your real files, till you are sure how to handle the program.
The rest is simple: try it, try it, try it...



.


Read the  *WIKI* for HELP + MANUAL + Tips&Tricks.
If ReNamer had helped you, please *DONATE* to Denis or buy a PRO license. (Read *Lite vs Pro*)

Offline

Board footer

Powered by FluxBB