This link has been bookmarked by 43 people . It was first bookmarked on 24 Oct 2006, by Alan Bradburne.
-
21 Dec 09
-
pdftk 1.pdf 2.pdf 3.pdf cat output 123.pdf
-
-
29 Jun 09
-
14 Jun 09
-
11 May 09
Xyzzy ZorkerCross-platform PDF toolkit that can merge, split, rotate, and more.
-
12 Apr 09
-
09 Apr 09
-
08 Apr 09
-
22 Mar 09
-
03 Mar 09
-
25 Feb 09
-
31 Dec 08
-
Merge PDF Documents
Split PDF Pages into a New Document
Rotate PDF Pages or Documents
Decrypt Input as Necessary (Password Required)
Encrypt Output as Desired
Fill PDF Forms with FDF Data or XFDF Data and/or Flatten Forms
Apply a Background Watermark or a Foreground Stamp
Report on PDF Metrics such as Metadata, Bookmarks, and Page Labels
Update PDF Metadata
Attach Files to PDF Pages or the PDF Document
Unpack PDF Attachments
Burst a PDF Document into Single Pages
Uncompress and Re-Compress Page Streams
Repair Corrupted PDF (Where Possible)
-
Merge Two or More PDFs into a New Document
pdftk 1.pdf 2.pdf 3.pdf cat output 123.pdf
or (Using Handles):
pdftk A=1.pdf B=2.pdf cat A B output 12.pdf
or (Using Wildcards):
pdftk *.pdf cat output combined.pdf
Split Select Pages from Multiple PDFs into a New Document
pdftk A=one.pdf B=two.pdf cat A1-7 B1-5 A8 output combined.pdf
Rotate the First Page of a PDF to 90 Degrees Clockwise
pdftk in.pdf cat 1E 2-end output out.pdf
Rotate an Entire PDF Document's Pages to 180 Degrees
pdftk in.pdf cat 1-endS output out.pdf
Encrypt a PDF using 128-Bit Strength (the Default) and Withhold All Permissions (the Default)
pdftk mydoc.pdf output mydoc.128.pdf owner_pw foopass
Same as Above, Except a Password is Required to Open the PDF
pdftk mydoc.pdf output mydoc.128.pdf owner_pw foo user_pw baz
Same as Above, Except Printing is Allowed (after the PDF is Open)
pdftk mydoc.pdf output mydoc.128.pdf owner_pw foo user_pw baz allow printing
Decrypt a PDF
pdftk secured.pdf input_pw foopass output unsecured.pdf
Join Two Files, One of Which is Encrypted (the Output is Not Encrypted)
pdftk A=secured.pdf mydoc.pdf input_pw A=foopass cat output combined.pdf
Uncompress PDF Page Streams for Editing the PDF Code in a Text Editor
pdftk mydoc.pdf output mydoc.clear.pdf uncompress
Repair a PDF's Corrupted XREF Table and Stream Lengths (If Possible)
pdftk broken.pdf output fixed.pdf
Burst a Single PDF Document into Single Pages and Report its Data to doc_data.txt
pdftk mydoc.pdf burst
Report on PDF Document Metadata, Bookmarks and Page Labels
pdftk mydoc.pdf dump_data output report.txt - 7 more annotations...
-
-
pdftk <input PDF files | - | PROMPT>
[input_pw <input PDF owner passwords | PROMPT>]
[<operation> <operation arguments>]
[output <output filename | - | PROMPT>]
[encrypt_40bit | encrypt_128bit]
[allow <permissions>]
[owner_pw <owner password | PROMPT>]
[user_pw <user password | PROMPT>]
[flatten] [compress | uncompress]
[keep_first_id | keep_final_id] [drop_xfa]
[verbose] [dont_ask | do_ask]
Where:
<operation> may be empty, or:
[cat | attach_files | unpack_files | burst |
fill_form | background | stamp | generate_fdf
dump_data | dump_data_fields | update_info]
For Complete Help: pdftk --help -
<input PDF files | - | PROMPT>
-
A list of the input PDF files. If you plan to combine these PDFs
(without using handles) then list files in the order you want
them combined. Use - to pass a single PDF into pdftk via stdin.
Input files can be associated with handles, where a handle is a
single, upper-case letter:
<input PDF handle>=<input PDF filename>
Handles are often omitted. They are useful when specifying PDF
passwords or page ranges, later. -
[<operation> <operation arguments>]
If this optional argument is omitted, then pdftk runs in 'fil-
ter' mode. Filter mode takes only one PDF input and creates a
new PDF after applying all of the output options, like encryp-
tion and compression.
Available operations are: cat, attach_files, unpack_files,
burst, fill_form, background, stamp, dump_data,
dump_data_fields, generate_fdf, update_info. Some operations
takes additional arguments, described below. -
dump_data
Reads a single, input PDF file and reports various statis-
tics, metadata, bookmarks (a/k/a outlines), and page labels
to the given output filename or (if no output is given) to
stdout. Does not create a new PDF. -
dump_data_fields
Reads a single, input PDF file and reports form field statis-
tics to the given output filename or (if no output is given)
to stdout. Does not create a new PDF. -
[output <output filename | - | PROMPT>]
The output PDF filename may not be set to the name of an input
filename. Use - to output to stdout. When using the dump_data
operation, use output to set the name of the output data file.
When using the unpack_files operation, use output to set the
name of an output directory. When using the burst operation,
you can use output to control the resulting PDF page filenames
(described above).
-
-
-
20 Nov 08
-
29 Sep 08
-
22 Sep 08
-
If PDF is electronic paper, then pdftk is an electronic staple-remover, hole-punch, binder, secret-decoder-ring, and X-Ray-glasses. Pdftk is a simple tool for doing everyday things with PDF documents.
-
-
22 Jul 08
-
28 Jun 08
-
06 Apr 08
-
04 Mar 08
Chris LasherThe cross-platform tool pdftk can do a variety of handy things with PDFs, but perhaps the most useful by far is the ability to concatenate PDF files. (e.g., `pdftk file1.pdf file2.pdf output combined.pdf`) An awesome tool!
document documentation encryption for:abml for:agbiotec for:behindtherabbit for:bryanleroylewis for:gamezace for:gidrew82 for:gvwilson for:jemerick for:jewdan for:mjroach for:mnd free linux open osx paper pdf reference software source tool toolkit windows
-
11 Feb 08
-
29 Jan 08
-
21 Jan 08
-
04 Dec 07
-
26 Oct 07
-
If PDF is electronic paper, then pdftk is an electronic staple-remover, hole-punch, binder, secret-decoder-ring, and X-Ray-glasses. Pdftk is a simple tool for doing everyday things with PDF documents. Keep one in the top drawer of your desktop and use it to:
*
Merge PDF Documents
*
Split PDF Pages into a New Document
*
Rotate PDF Pages or Documents
*
Decrypt Input as Necessary (Password Required)
*
Encrypt Output as Desired
*
Fill PDF Forms with FDF Data or XFDF Data and/or Flatten Forms
*
Apply a Background Watermark or a Foreground Stamp
*
Report on PDF Metrics such as Metadata, Bookmarks, and Page Labels
*
Update PDF Metadata
*
Attach Files to PDF Pages or the PDF Document
*
Unpack PDF Attachments
*
Burst a PDF Document into Single Pages
*
Uncompress and Re-Compress Page Streams
*
Repair Corrupted PDF (Where Possible)
-
-
16 Aug 07
-
12 Jun 07
-
06 Jun 07
-
21 May 07
-
13 May 07
-
11 May 07
-
31 Dec 06
-
24 Oct 06
-
02 Oct 06
-
Pdftk is a simple tool for doing everyday things with PDF documents. Keep one in the top drawer of your desktop and use it to:
-
-
29 May 06
-
08 May 05
-
If PDF is electronic paper, then pdftk is an electronic staple-remover, hole-punch, binder, secret-decoder-ring, and X-Ray-glasses. Pdftk is a simple tool for doing everyday things with PDF documents.
-
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.