#1 2012-06-14 18:30

April
Member
Registered: 2012-06-14
Posts: 5

Rearranging with more than 9 pieces?

Hello all!

I'm extremely new here, but I've been using Renamer for a couple of years (and I absolutely love it!)

My question is on the rearrange function.  How can I use it if my file name has more than 9 pieces? 

For example, this is my file name:

August Derleth - Solar Pons - The Adventure of the Late Mr. Faversham

I want it to be last name, first name - series - title.

The problem is, if I use a space as the delimiter, and tell it to go $2, $1 $3 $4 $5 $6 $7 $8 $9, I get

Derleth, August - Solar Pons - The Adventure of

Is there a way to rearrange names with more than 9 pieces?  Or to tell it to only go as far as the first dash?

Thanks so much!

April

Last edited by April (2012-06-14 18:31)

Offline

#2 2012-06-14 20:07

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

Re: Rearranging with more than 9 pieces?

You need to use "Exact pattern of delimiters" option, split using " | ", new pattern "$2, $1 $3".

This basically means that you have 3 parts in the filename which are separated by spaces.

Offline

#3 2012-06-14 20:32

April
Member
Registered: 2012-06-14
Posts: 5

Re: Rearranging with more than 9 pieces?

den4b wrote:

You need to use "Exact pattern of delimiters" option, split using " | ", new pattern "$2, $1 $3".

This basically means that you have 3 parts in the filename which are separated by spaces.

It works!!!  Thank you so much!

Offline

#4 2012-06-14 20:34

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

Re: Rearranging with more than 9 pieces?

Let me explain it to myself so i can understand it too (i still have my problems with "Exact pattern of delimiters")


" | "

with

"(o) Exact pattern of delimiters"

means:

Two delimiters split the string into three parts at the first and then at the second found space.

So i will get this three parts:
"August" + "Derleth" + " - Solar Pons - The Adventure of the Late Mr. Faversham"


I can access the first matched part by $1, the second by $2, and the last one by $3.

Then i rearrange this matches parts in the New Pattern field as
$2, $1 $3


OK, works. I got it. (for now. let's see tomorrow big_smile )
Thanks Denis.


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