pdf editing

install the following program: pdftk

  • simple cutting: pdftk myDocument.pdf cat 1-9 26-end output removedPages.pdf
  • cutting multiple files: pdftk A=one.pdf B=two.pdf cat A1-7 B1-5 A8 output combined.pdf
  • viewing + editing pdf metadata:
    • view: pdftk input.pdf dump_data output metadata.txt
    • edit: vim metadata.txt
    • make consistent: pdftk input.pdf update_info metadata.txt output output.pdf

https://www.pdflabs.com/docs/pdftk-cli-examples/

https://www.maketecheasier.com/combine-multiple-pdf-files-with-pdftk/

http://www.onurguzel.com/changing-pdf-metadata-under-linux/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s