Page 1 of 1

Request: new renaming function: ignore character

Posted: Fri Mar 07, 2008 6:16 pm
by surfacecleanerz
Hello,

It would be very great, if XNView would get a new function for renaming files: Let me explain it with an example. I have files "DSCN12000 picture.jpg" - "DSCN12001 Foto.jpg". And now iI want to rename them to "1 picture.jpg" - "2 Foto.jpg". I think this is impossible with the functions implemented, yet. The second part of the filename should be untouched, only the first part should be converted. A problem is, that the second part is of variable length, because I use it for tagging the pictures with what is shown on them.

Thanks for that great software!

regards,
Stefan

Re: Request: new renaming function: ignore character

Posted: Sat Mar 08, 2008 7:48 am
by xnview
surfacecleanerz wrote: It would be very great, if XNView would get a new function for renaming files: Let me explain it with an example. I have files "DSCN12000 picture.jpg" - "DSCN12001 Foto.jpg". And now iI want to rename them to "1 picture.jpg" - "2 Foto.jpg". I think this is impossible with the functions implemented, yet. The second part of the filename should be untouched, only the first part should be converted. A problem is, that the second part is of variable length, because I use it for tagging the pictures with what is shown on them.
Ok, not so easy :-)

Posted: Sat Mar 08, 2008 8:23 am
by surfacecleanerz
Hello,

You're right not so easy, but possible I think.

The first part has always the same length. So it should be possible to exchange it.

No i have to drive to CeBit...

regards,
Stefan

Posted: Sat Mar 08, 2008 2:28 pm
by Enmoku
RegExp (PCRE) would work here, but it's not exactly the easy to use for the end user :)

A nightmare---

Posted: Sat Mar 08, 2008 5:46 pm
by Clo
:arrow: Enmoku

:) Hello !
RegExp (PCRE) would work here, but it's not exactly the easy to use for the end user :)
• OMG ! Right ! Paul “Ouistiti”-friend and I have translated the PCRE doc into French for a help folder in a soft we deal with,
it was a fortnight-job and a real nightmare.
- Moreover, that library is very powerful, but not gratis… :(

:mrgreen: KR
Claude
Clo

Posted: Sun Mar 09, 2008 8:06 pm
by surfacecleanerz
Can you describe what you mean?

Sounds interesting (ok not the french version ;-)

regards,
Stefan

Mirror site

Posted: Sun Mar 09, 2008 8:35 pm
by Clo
:arrow: surfacecleanerz

:) Hello !

• We found out a mirror site which has the whole original PCRE docs HERE in English.
- Some original pages @ Cambrige University have been moved¦renamed¦deleted,
hence it was impossible to follow the original links…
…ok not the french version ;)
- It's a pity, because the French version for that soft is BEAUTIFUL :D See :  “Expressions régulières”…

:mrgreen: VG
Claude
Clo

Posted: Mon Mar 10, 2008 1:46 am
by surfacecleanerz
Hello,

Thank you!

I don't speak french, that's the problem and I forgot much of my latin and spanish is often different...

regards,
Stefan