简体   繁体   中英

Sejda Merge PDFs w/ Filelist

I'm trying to merge pdfs with an external CSV file. The CSV file and all pdfs are in the same directory. 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.

Thanks in advance.

You should not provide -f and -l at the same time.

Here's an example that works (commands are Unix format):

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

And files.csv contains:

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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