Merge/Split PDF files in Linux
来源:互联网 发布:苹果电脑不能淘宝付款 编辑:程序博客网 时间:2024/06/05 19:54
First install pdftk (pdf toolkit). Pdftk runs from the command line which means you should unpack the software into a directory that you can access easily. I put the file into c: for testing purposes along with two pdfs called 123.pdf and 456.pdf.
If you run pdftk without parameters you get a quick output that details the most important parameters. Lets take a look at the possible operations:
Merge pdf files:
pdftk 123.pdf 456.pdf output 123456.pdf
This tells pdftk to merge the two pdf files 123.pdf and 456.pdf into a new pdf called 123456.pdf. If you want to merge more than two pdf files at once you simply add them between pdftk and output. You could also use wildcards to merge many or all pdfs with a certain name.
pdftk *.pdf output 123456.pdf
Split pages from one or more pdfs:
pdftk A=123.pdf B=456.pdf cat A1-2 B4-5 output 1245.pdf
Repair a pdf:
pdftk 123.pdf output 123fixed.pdf
Merge encrypted pdfs:
pdftk A=123.pdf 456.pdf input_pw A=password cat output 123456.pdf
Pdftk offers several more possibilities which are worth a look if you want to do something that I did not describe on this website. A version for Linux and Windows is available.
Read More:
Pdftk Homepage
原文:http://www.ghacks.net/2007/10/02/merge-pdf-files/
- Merge/Split PDF files in Linux
- Merge several pdf files together in Latex!!!
- Merge PDF - Split PDF(PDF合成)
- Merging PDF Files in Cocoa
- split command in linux
- linux split files according lines number
- Crawling PDF files in MOSS Search
- How to open PDF files in sharepoint
- Linux - Find string in files.
- linux find string in files
- pdf reader in linux
- PDF merge
- How to diff and merge files or directories on Linux
- Icecream PDF Split and Merge Pro(PDF分割合并工具)官方中文破解版V3.41下载
- look the files size in linux system
- MP4Box Merge MP4 Files
- opencv split merge
- Sejda -- split pdf bookmark
- 我心目中的手机
- 禁用光标和调用函数接口的emacs配置
- Map执行时的RecordWriter实现之NewOutputCollector
- 结合typedef更为直观的应用函数指针
- html的第三课
- Merge/Split PDF files in Linux
- python from __future__ import division
- android控件06 ImageButton
- 用Oauth2.0同时验证新浪,人人和腾讯
- Boost 下载地址
- Linux管理常用命令
- 如何用ant来启动和停止tomcat以运行web项目
- Android中Cursor关闭的问题
- 函数递归调用详解