#1 2010-11-20 00:03

jennobrien
Member
Registered: 2010-11-19
Posts: 1

Changing Sequence of Numbers in Brackets

Hi,

I'm wondering how to change the sequence of numbers in brackets to include the first number which is not in brackets.

Example: I have a photo album of 516 photos. In Windows, I've renamed all the files 'England & France - Summer 2007 - 01'. So it automactically changed the first file to 'England & France - Summer 2007 - 01' and then all the files after to ''England & France - Summer 2007 - 01 (1)', 'England & France - Summer 2007 - 01 (2)', etc. Therefore, the total of my photos numbered is 515 instead of 516 because it's not registering the first change?

Thanks in advise for your help!!!

Offline

#2 2010-11-20 07:58

SafetyCar
Senior Member
Registered: 2008-04-28
Posts: 446
Website

Re: Changing Sequence of Numbers in Brackets

In this case I think the easiest way to solve it is removing the brackets and redo the serialize.

The first of all you have to put the files in the file list and make sure they are sorted correctly.

For this case, where the only brackets are those you want to remove, you could use:
Rule: CleanUp
[x] Strip Brackets
[x] Fix spaces
[x] Skip extension

And then to serialize again (EDIT: I've added some steps at the end to avoid errors when trying to rename to used names.)
- Insert " (" as suffix (skip extension)
- Serialize Incremental from 1 step 1 as suffix (skip extension)
- Insert ")~temp~" as suffix (skip extension)

Rename, and after renaming, remove al the rules and add
- Remove "~temp~"
And rename again.

Last edited by SafetyCar (2010-11-20 08:18)


If this software has helped you, consider getting your pro version. :)

Offline

#3 2010-11-20 16:09

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

Re: Changing Sequence of Numbers in Brackets

Hi jennobrien, welcome to the community.

jennobrien wrote:

I'm wondering how to change the sequence of numbers in brackets
to include the first number which is not in brackets.

That could be done by an PascalScript if really needed,

but imagine too like

SafetyCar wrote:

In this case I think the easiest way to solve it is removing the brackets and redo the serialize.

There are many way to do this whit ReNamer and *I* would do it this way:



FROM:
England & France - Summer 2007 - 01.ext
England & France - Summer 2007 - 01 (1).ext
England & France - Summer 2007 - 01 (2).ext
...
England & France - Summer 2007 - 01 (10).ext
...
England & France - Summer 2007 - 01 (259).ext
...
England & France - Summer 2007 - 01 (515).ext


TO:
England & France - Summer 2007 - (001).ext
England & France - Summer 2007 - (002).ext
England & France - Summer 2007 - (003).ext
...
England & France - Summer 2007 - (011).ext
...
England & France - Summer 2007 - (260).ext
...
England & France - Summer 2007 - (516).ext





DO:

1.) The first of all you have to put the files in the file list
     and make sure they are sorted correctly:
England & France - Summer 2007 - 01.ext
England & France - Summer 2007 - 01 (1).ext
...
England & France - Summer 2007 - 01 (515).ext


Then use this rules:

2.) Delete: Delete from Position 33 until the End (skip extension)
> result: "England & France - Summer 2007 - "


3.) Insert: Insert " (" as Suffix (skip extension)
> result: "England & France - Summer 2007 - ("


4.) Serialize: Serialize Incremental from 1 step 1 and pad to length 3 as suffix (before extension)
> result: "England & France - Summer 2007 - (001"


5.) Insert: Insert ")" as Suffix (skip extension)
> result: "England & France - Summer 2007 - (001)"


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