malor89 wrote:
This is why I always extract archives to a folder named after the archives. Which is another reason to like 7-Zip, since you can right click on cbr/cbz files and select 'extract to "archive name\"' for a single archive or 'extract to "*\"' for multiple archives.
Let me know if that doesn't meet your need.
Yes, I fully agree with you there. However, even in that case, the filenames are still the same monotonous P0001.jpg, P0002.jpg. I would like to save some individual pages from various archives, and the script can help in naming the pages meaningfully.

And while we are at it, Here is another request (hope you don't get angry for me asking so much !):
A script called something like
addvariant.pl
I often like to add variant covers to an existing archive. An addvariant.pl script could make this very easy. All it would require is that the archive and the cover have comparable file names. For example, for an archive like:
Incredible Hulks 614 (2010) (Minutemen-Fiji).cbr
the variant is:
Incredible Hulks 614 (2010) (Salvador Espin Vampire Variant) (Cover ONLY) (ScanDog).jpg
The script would search for the variant jpg in the archive directory (and if possible, in the sub-directories) and add the variant jpg to the matching archive.
I know that you are the magician of Perl, my friend.. and you can conjure up almost any script with it !!