简体   繁体   English

Sejda合并带有文件列表的PDF

[英]Sejda Merge PDFs w/ Filelist

I'm trying to merge pdfs with an external CSV file. 我正在尝试将pdf与外部CSV文件合并。 The CSV file and all pdfs are in the same directory. CSV文件和所有pdf都位于同一目录中。 I've got the following code, but it keeps spitting back errors. 我有以下代码,但它不断吐出错误。

Call sejda-console.bat merge -f C:\temp -l C:\temp\book3.csv -o C:\temp\temp2.pdf

The tutorial uses calls for "[--filesListConfig -l value]", I'm just not sure if I'm using it right. 本教程使用对[[--filesListConfig -l value]”的调用,但我不确定是否使用正确。

Thanks in advance. 提前致谢。

You should not provide -f and -l at the same time. 您不应同时提供-f-l

Here's an example that works (commands are Unix format): 这是一个有效的示例(命令为Unix格式):

./bin/sejda-console merge -l /tmp/files.csv  -o /tmp/output.pdf

And files.csv contains: 并且files.csv包含:

>  sejda-console-1.0.0.M9  $ cat /tmp/files.csv
/tmp/file1.pdf,/tmp/file2.pdf

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM