View Single Post
Old 27th May 2009
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Real Name: Ben
Spam Refugee
 
Join Date: Jul 2008
Location: Rotterdam, The Netherlands
Posts: 336
Default

Quote:
Originally Posted by gosha View Post
the page number means the actual page number according to the djvu order (like in a pdf file, the thumbnails are ordered 1 2 3 etc, but on the actual picture the number might be different). If I run djvm with pagenumber 3, it will delete the third image, and of course, after deleting it, the fourth image will have become the third etc.
Anyway, I've solved it running n times the command on page one. It was a way to learn some more scripting. Very bad that this djvm command does not support page ranges...
Ok, so you could simply run
Code:
for i in $(jot 10 1) ; do djvm -d file.djvu 1 ; done
Looks weird, but it'll work
Reply With Quote