pdf pro등은 무겁다보니, 많은 경우 인터넷만 되면 동작하는 ilovepdf 를 많이 사용하는 것을 보게 된다.
문제는 다들 가지고 있는 원격지에 파일을 전송하는 불안감이...
(회사나 연구실 정보가 많은 경우엔 꺼려진다. ==;;)
linux나 wsl등을 사용하는 경우, pdfunite
라는 간단한 CLI program으로 PDF를 합칠 수 있다.
pdftk
라는 툴이 *
를 이용한 대량의 작업에는 편한데... 이 녀석은 가끔 동작을 안해서
(영문 pdf는 잘되는데, 일부 한글로 만든 pdf에서 자주 에러가 남.)
Syntax
명령어 사용법은 정말 직관적이다.
pdfunite src_a.pdf src_b.pdf result.pdf
맨 마지막이 합쳐진 결과 pdf이며, 위의 예에선 result.pdf
임.
2개를 초과하는 pdf파일들도 합칠 수 있다.
Install
pdfunite
는 poppler-utils
라는 PDF utilities를 설치하면 이용가능하다.poppler-utils
는 poppler
라는 pdf처리 library에 기반하여 만들어진 프로그램이다.
뭐, 전형적인 install 방식 그대로 다음과 같이 설치하면 된다.
sudo apt install poppler-utils
References
https://howtoinstall.co/en/poppler-utils
How to Install
Instructions on how to install and uninstall packages on Linux.
howtoinstall.co
https://linuxhint.com/merge_pdf_files_command_line/
How to Merge PDF Files Using the Command Line on Ubuntu
“Did you happen to see a presentation? You would have seen the screen with graphs and text, right? That data is in the PDF or portable documents format is, perhaps, the most popular for the ease of sharing documents that can be viewed on almost any devic
linuxhint.com
'utils' 카테고리의 다른 글
[Util] curl 간단사용법 정리 : web의 자원 다운로드하기. (0) | 2023.09.29 |
---|---|
[Util] Windows Terminal (0) | 2023.09.05 |
[vscode] cSpell extension : Code Spell Checker (0) | 2023.08.04 |
[Vim] substitution (치환, 교체, replace) (0) | 2023.07.14 |
[Vim] WSL2의 vim에서 윈도우 app로 copy and paste하기 (0) | 2023.07.07 |