大网数据广告活动
Linux 与通用命令

pdftk · 常用命令示例

· 52CE 我爱测

PDF toolkit. > More information: <https://www.pdflabs.com/docs/pdftk-man-page/>.

pdftk

PDF toolkit. More information: https://www.pdflabs.com/docs/pdftk-man-page/.

  • Extract pages 1-3, 5, and 6-10 from a PDF file and save them as another one:

pdftk .pdf cat 1-3 5 6-10 output .pdf

  • Merge (concatenate) a list of PDF files and save the result as another one:

pdftk .pdf .pdf cat output .pdf

  • Split each page of a PDF file into a separate file, with a given filename output pattern:

pdftk .pdf burst output .pdf

  • Rotate all pages by 180 degrees clockwise:

pdftk .pdf cat 1-endsouth output .pdf

  • Rotate third page by 90 degrees clockwise and leave others unchanged:

pdftk .pdf cat 1-2 3east 4-end output .pdf

  • Interleave two PDFs with one-sided scans of a two-sided document, where the backs were scanned back to front:

pdftk A=.pdf B=.pdf shuffle A1-end Bend-1 output .pdf

来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。

资料来源与适用范围

资料来源
tldr-pages contributors
适用范围
请按文中版本与环境说明核对
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。