#1 2008-05-28 13:52

highnoon1962
Member
Registered: 2008-05-16
Posts: 3

Replace PDF files

By replacing PDF files for example f97;f9743;f97048;f97487;97656;f97843 they all take the same name as the f97.

Offline

#2 2008-05-28 19:00

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

Re: Replace PDF files

Could you please give more information about the problem?
What are your input names, what output names do you want to have and most important - which rules and how configured do you use?
I can almost bet that it's not a bug, but just wrong usage of the app.
Cheers,
Konrad


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

#3 2008-05-30 19:28

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

Re: Replace PDF files

highnoon1962, here is a guide on how to upload and post images on this forum.

pdfforumquestionso6.th.png

This is not a bug. Your first rule was to replace "f97" with "A", and that is what ReNamer did. It replaced ALL occurrences of "f97" in ALL filenames. Then the rest of the rules tried to replace "f9743", "f97048", etc with other characters, but they did absolutely nothing, because none of the names contained those strings after the first rule replaced "f97" in all of them. I think you misunderstood how ReNamer works, and how rules are applied to the filenames.

Try to explain to us what you want to achieve (with examples), and we will try to help you.

P.S. krtek, he didn't know how to upload screenshot, so he emailed it to me.

P.S.2. This topic will be moved to the "Help and Support" section.

Offline

#4 2008-06-10 23:29

highnoon1962
Member
Registered: 2008-05-16
Posts: 3

Re: Replace PDF files

I want to achieve that each of the files f97;f9743;f97048;f97487;f97656;f97843 should be renamed A;B;C;D;E;F as set in the rules.
By the way, if I change the first rule f97 by f097 all files will be renamed correctly. Of course that is not really a solution to the problem. I expect that the program can make it without my interfering.

Thanks for helping.

Offline

#5 2008-06-11 10:25

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

Re: Replace PDF files

If it's six of them... Just click preview, then click on the generated new filename in the filetable, press F2 and rename manually.
Then cursor down, and the next file.
After all you click Rename and voilla.


highnoon1962 wrote:

if I change the first rule f97 by f097 all files will be renamed correctly

Well, you could simply disable, or delete the rule, cause replacing f097 does nothing (as there is nothing to replace).
And it won't rename all your filesl - because you won't get f97 -> A, then.
You could rename all your files if you moved the first rule to the end.
But using Replace rule that way (one replace rule for every file) is completely uneffective. It's easier to rename them via Windows, or via ReNamer as mentioned above.


If it's not only six files, or you face the problem of serializing filenames by letters more often let us know.
Because it is possible to do the job with one click, but you need a PascalScript for that. Someone might write it in his spare time. You would need to manualy sort your files in the filetable before applying the PascalScript rule, cause I can't see any rule governing why that particular file should get "C" as its new name. Maybe it is unimportant for you... But again, if there is a rule - let us know.

Last edited by krtek (2008-06-11 10:26)


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

#6 2008-06-12 15:54

highnoon1962
Member
Registered: 2008-05-16
Posts: 3

Re: Replace PDF files

Great !
That's the solution to the problem. By removing the low numbers to the end of the preset list all files are renamed correctly.
Thank you Sieradz and krtek

Offline

Board footer

Powered by FluxBB