tips:
1. Split multi-page PDFs into single page PDFs
$ pdftk my_multi_page.pdf burst $ pdftk my_multi_page.pdf burst output my_directory/page_%02d.pdf
2. Pull some pages out of a PDF but keep the rest
$ pdftk my.pdf cat 1-5 13-21 24-end output my_edited.pdf
3. Concatenate (that’s join!) multiple pdfs into one big pdf
$ pdftk part0.pdf part1.pdf cat output the_whole_book.pdf
4. Get all of the images and other attachments out of a PDF and put them in a folder
$ pdftk my.pdf unpack_files output ~/attachments_from_my_pdf/
5. Print stats and metadata about a PDF
$ pdftk my.pdf dump_data
6. Add a background watermark (or a foreground overlay) to a pdf
- For a background
$ pdftk my.pdf background bg.pdf output my_watermarked.pdf
- For an overlay
$ pdftk my.pdf stamp overlay.pdf output my_overlayed.pdf
No comments:
Post a Comment