#1 2008-08-13 14:03

finwhale
Member
Registered: 2008-08-13
Posts: 4

Continue numbering images

Hi all - Hope this is the right place, i did post in the general section first of all. Is there a way to use this programme to re number files. I use a digital camera that numbers files 1 up to 9999 (eg dscn1, dscn2, dscn3 and onwards) when it reaches dscn9999 it re sets back to to zero, i would like to continue numbering the files from dscn9999 onwards eg dscn10000,dscn10001,dscn10002 etc etc, or perhaps start at a pictiure call it only by its number, 1 then 2,3,4,5,6 & so on indefinately, so when I take a card full of pictures the sequence can go on - I would need to have this done automatically because I take hunderes of pictures each day to do it manually would be an nightmare. Is this possible - many thanks

Last edited by finwhale (2008-08-13 14:05)

Offline

#2 2008-08-13 14:58

eR@SeR
Senior Member
From: Земун, Србија
Registered: 2008-01-23
Posts: 354

Re: Continue numbering images

Hi finwhale and welcome to forum smile

Is there a way to use this programme to re number files.

With ReNamer "everything" is possible smile

i would like to continue numbering the files from 9999 onwards eg

dscn10000,dscn10001,dscn10002 etc etc

when it reaches 9999 it re sets back to to zero

When it reaches from zero and so on 1,2,3,4,5...then you have dscn0, dscn1, dscn2, dscn3...Right?

If yes one solution could be:


1) Use Insert rule:

Insert: 1000

After text: dscn


Result is: dscn1      --->    dscn10001
              dscn9      --->    dscn10009
              dscn10    --->    dscn100010
              dscn99    --->    dscn100099
              dscn100   --->   dscn1000100
              dscn999   --->   dscn1000999
              dscn1000 --->   dscn10001000
              dscn9999 --->   dscn10009999

Click Rename!

2) Use Remove rule:

Remove: 0

Occurrences: [x] first


Then add your files from dscn100010 till dscn100099 to remove one zero surplus.
After that add your files from dscn1000100 till dscn1000999 to remove two zeros surplus (use duplicate Remove rule Shift+Ins).

And so on and so on...

It's not practical, but do the work roll

Second solution could be (even better), let me guess, to use PascalScript which I cannot help you about sad

Maybe someone can?  roll

Last edited by eR@SeR (2008-08-13 15:07)


TRUTH, FREEDOM, JUSTICE and FATHERLAND are the highest morale values which human is born, lives and dies for!

Offline

#3 2008-08-13 15:01

krtek
Senior Member
From: Łódź (Poland)
Registered: 2008-02-21
Posts: 262

Re: Continue numbering images

Easiest way is to set flag "Use natural order sorting algorithm" in Settings/General, add files to ReNamer, sort files table by name and then add
two rules.

First:
for removing old numbers:
eg. Delete rule:
Position: 5 (or 1 if you wan't files to be named only with numbers, and get rid of dscn)
Until: till the end
Skip extention

Second:
Serialize rule
Incremental:
Index starts at: and here you put first number for that pictures set
Step: 1
Where: suffix
If you like you can use also "Pad to length" option

Then you click Preview, check if everything is ok in files table. And then press Rename.
Done.

Last edited by krtek (2008-08-13 15:02)


Regular Expressions are not as hard to understand as you may think. Check ReNamer's manual or nice Regular Expressions tutorial for more info and start to use full power of applications that use them (like ReNamer, Mp3Tag and so on).

Offline

#4 2008-08-13 16:50

finwhale
Member
Registered: 2008-08-13
Posts: 4

Re: Continue numbering images

Thank you both so much I wil ltry out the suggestion by eR@SeR tomorrow. I have tried the suggestion by krtek  and it works great I just need to keep an eye on the next number to set when taking new photographs, what a superb programme I have been using rename up until now, but could not work this way of doing it. A contribution will be on its way via paypal soon.

Offline

#5 2008-08-17 19:09

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,440

Re: Continue numbering images

Another idea would be to add all of your images and sort them by the EXIF Date column, and then re-number. This will ensure the correct chronological order.

Offline

Board footer

Powered by FluxBB