【发布时间】:2020-07-06 17:34:54
【问题描述】:
我有一个目录,其中包含许多文件名中有空格的 PDF。
file 1.pdf
file 2.pdf
file 3.pdf
# And so on
我在那个目录中运行了这个命令。
pdftk `ls -v` cat output combined-report.pdf
但是终端吐出一堆这样的错误。
Error: Unable to find file.
Error: Failed to open PDF file:
file
Error: Unable to find file.
Error: Failed to open PDF file:
1.pdf
如何使用 pdftk 或 Arch Linux 中的任何其他软件包合并 PDF?为了澄清,我想按照ls -v打印的顺序组合文件
【问题讨论】: