From adccedc02fea78dd5a924605d254ea709d63473b Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 7 Jul 2013 16:29:28 -0400 Subject: Allow numeric range to be omitted qpdf --pages Detect a missing page range and assume 1-z. --- manual/qpdf-manual.xml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'manual') diff --git a/manual/qpdf-manual.xml b/manual/qpdf-manual.xml index ac0d32cc..b5748c24 100644 --- a/manual/qpdf-manual.xml +++ b/manual/qpdf-manual.xml @@ -614,7 +614,7 @@ make file is given as the primary input file is used as the starting point, but its pages are replaced with pages as specified. - + Multiple input files may be specified. Each one is given as the name of the input file, an optional password (if required to open @@ -635,6 +635,15 @@ make input file. To discard these, use as the primary input. + + Starting with qpdf 4.2.0, it is possible to omit the page range. + If qpdf sees a value in the place where it expects a page range + and that value is not a valid range but is a valid file name, qpdf + will implicitly use the range 1-z, meaning that + it will include all pages in the file. This makes it possible to + easily combine all pages in a set of files with a command like + qpdf --empty out.pdf --pages *.pdf --. + It is not presently possible to specify the same page from the same file directly more than once, but you can make this work by -- cgit v1.2.3-54-g00ecf