This only works if there are no spaces in directory and file names.
I created an 862MB multi-page djvu from 1,040 single djvus and it took over 3 hours using the loop method. It took less than a minute using this kludge. But hey, if it works…
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to create a multi-page djvu from single-page ones with
djvmin a bash script. I tried using the*wildcard:but I get:
BTW I tried this with and without quotes.
So I instead first created the output file
My.djvuusing the first file indir1/dir2/djvus:And then inserted each page one by one:
And finally deleted the first page which is now a duplicate:
This works OK but it is ridiculously slow because the file gets rewritten from scratch each time.
What is the proper syntax needed to get the wildcard correctly parsed?
Last edit: Fooby 2014-09-04
OK, I found what I can only consider a workaround, not really a solution, which IMO would require some modification of the design of this tool.
This only works if there are no spaces in directory and file names.
I created an 862MB multi-page djvu from 1,040 single djvus and it took over 3 hours using the loop method. It took less than a minute using this kludge. But hey, if it works…