Re: How to manipulate PDF documents in Debian?
On Sun, 20 Jul 2025, Richard Owlett wrote:
> On 7/20/25 7:24 AM, Roger Price wrote:
> > mutool merge -o Page-n.pdf <100-page.pdf> n
> >
> > where <100-page.pdf> is the original file
> > Page-n.pdf is the one page file extracted
> >
> Is some demo or tutorial that would clarify what it tries to do?
I have a 2 page PDF called Documents/Permis.pdf (My driving license).
I want to put the first page which has my photo in file Photo.pdf .
The command I use is
rprice@maria ~ mutool merge -o Photo.pdf Documents/Permis.pdf 1
The "1" says I want only the page 1. I got file Photo.pdf with my face.
Program pdfseparate could do the same job. The command is
rprice@maria ~ pdfseparate -f 1 -l 1 Documents/Permis.pdf Photo.%d.pdf
and again I got file Photo.1.pdf with my photo. Roger
Reply to: