currently i struggle with some command-line-errors.
yes - it looks like i have very interesting issues where i struggle with... - could it be that the linux notebook does not have some ordinary text encoding (utf8 or something similar). Note i am not able to copy and paste the data into commandline.
i will start with the first line and will type each of the four lines and will run each of the four commmand..
note: i guess that i have issues with the characters...
you wrote to run the following commands:
Code: Select all
qpdf 98_225.pdf --pages 98_225.pdf 1-z:odd -- even.pdf
qpdf 98_225.pdf --pages 98_225.pdf 1-z:even -- odd.pdf
Code: Select all
qpdf 98_225.pdf --pages . 1-z:odd -- even.pdf
qpdf 98_225.pdf --pages . 1-z:even -- odd.pdf
see what i have got back if i try to (okay copy and paste ) the commands:
Code: Select all
martin@mx:~/Dokumente/kalender/ueberschaar__fixes_urlaub
$ qpdf 98_225.pdf --pages . 1-z:even -- odd.pdf
qpdf: error at * in numeric range 1-z*:even: unexpected character
Usage: qpdf [options] infile outfile
For detailed help, run qpdf --help
martin@mx:~/Dokumente/kalender/ueberschaar__fixes_urlaub
$
martin@mx:~/Dokumente/kalender/ueberschaar__fixes_urlaub
$ qpdf 98_225.pdf --pages 98_225.pdf 1-z:odd -- even.pdf
qpdf: error at * in numeric range 1-z*:odd: unexpected character
Usage: qpdf [options] infile outfile
For detailed help, run qpdf --help
question: should i type each of the four lines - i guess so. i guess that i need all the four lines.
i will come back later and will report all the findings.
update 1 well i guess that my notebook does have some issues with the utf8 encoding - is it possible that the character-set does not work propperly!? Very very strange things are going on here... . I will work on and will try to find out what goes wrong here.... i will come back and report all the findings...
update 2: - regarding the complaints of the shell (i am on a mx-linux-machine [https://mxlinux.org ])i found interesting news on github/qpdf see below:
here is what i ve got:
Code: Select all
$ qpdf 98_225.pdf --pages 98_225.pdf 1-z:odd -- even.pdf
qpdf: error at * in numeric range 1-z*:odd: unexpected character
see here - very interesting - https://github.com/qpdf/qpdf/issues/11
Windows/PowerShell users also need to put quotes around the -- argument.
For example, running this:
Code: Select all
qpdf --empty --pages input.pdf -- output.pdf
Code: Select all
qpdf: error at * in numeric range *output.pdf: unexpected character
Code: Select all
qpdf --empty --pages input.pdf '--' output.pdf
well - exactly the same issue as i have: but i am not on windows and i do not use powershell
well i need to digg deeper - guess that i run into very strange issues here ..
regards