[ 
https://issues.apache.org/jira/browse/PDFBOX-5445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17763194#comment-17763194
 ] 

Zbigniew Minciel commented on PDFBOX-5445:
------------------------------------------

I tried to leverage *_picocli_*  but it didn't work for me. Not sure what I am 
doing wrong.

G:\DataFolder\UMBoxViewer\F\MBOX\Linux1\apache-mbox\PrintCache\PDF_GROUP>java 
-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger 
-Djava.util.logging.config.file=pdfbox-config.txt -jar pdfbox-app-3.0.0.jar 
merge  -o m-xxx.pdf @.\SelectedMailsList.txt
Unmatched arguments from index 5: 'subversion', 'questions.pdf', 'svnserve', 
'with', 'corrupt', 'timestamps', 'and', 'malformed', 'text', 
'representation.pdf', 'REPORT', 'request', 'failed', 'on', 
'_svn_svn_bc_xxxxx.pdf', 'error.pdf', 'mixed', 'revision', 'working', 'copy', 
'remains', 'after', 'a', '_svn', 'update.pdf', 'My', 'mixed', 'revision', 
'working', 'copy', 'remains', 'after', 'a', '_svn', 'update.pdf', 'My', 
'mixed', 'revision', 'working', 'copy', 'remains', 'after', 'a', '_svn', 
'update.pdf', 'My', 'mixed', 'revision', 'working', 'copy', 'remains', 'after', 
'a', '_svn', 'update.pdf', 'RepoBrowser_', 'Feature', 'request', 'for', 
'Search', 'function.pdf', 'TortoiseSVN', 'RepoBrowser_', 'Feature', 'request', 
'for', 'Search', 'function.pdf', 'TortoiseSVN', 'RepoBrowser_', 'Feature', 
'request', 'for', 'Search', 'function.pdf', 'TortoiseSVN', 'RepoBrowser_', 
'Feature', 'request', 'for', 'Search', 'function.pdf', 'Apache', 'Subversion', 
'1.10.0-alpha3', 'released.pdf', 'Error', 'E160016', '_...', 'is', 'not', 'a', 
'directory', 'in', 'filesystem', '....pdf', 'svn', 'diff', 'non-temporary', 
'files', 'option.pdf', 'svn', 'client', 'binary', 'honors', 'LANG', 'env', 
'variable', 'on', 'Windows.pdf', 'so', 'cheap', 'moves.pdf'
Merges multiple PDF documents into one
Usage: pdfbox merge [-hV] -o=<outfile> -i=<infile> [-i=<infile>]...
  -h, --help               Show this help message and exit.
  -i, --input=<infile>     the PDF files to merge.
  -o, --output=<outfile>   the merged PDF file.
  -V, --version            Print version information and exit.

cat SelectedMailsList.txt

 -i ./20101231-130023-0000016-shirishag75-users-newbie subversion questions.pdf
 -i ./20110104-060851-0000000-rene-d.s-Re_ svnserve with corrupt timestamps and 
malformed text representation.pdf
 -i ./20110109-081354-0000001-zhang.fan.work-users-svn_ REPORT request failed 
on _svn_svn_bc_xxxxx.pdf
 -i ./20111207-091311-0000002-peter.szabady-users-merge error.pdf
 -i ./20160816-145446-0000007-webster.brent-users-My mixed revision working 
copy remains after a _svn update.pdf
 -i ./20160816-234901-0000008-subversion-2016-webster.brent-Re_ My mixed 
revision working copy remains after a _svn update.pdf
 -i ./20160818-143334-0000009-webster.brent-subversion-2016-Re_ My mixed 
revision working copy remains after a _svn update.pdf
 -i ./0160818-145538-0000011-jcorvel-webster.brent-Re_ My mixed revision 
working copy remains after a _svn update.pdf
 -i ./20161004-152355-0000003-rainer.senn-users-TortoiseSVN RepoBrowser_ 
Feature request for Search function.pdf
 -i ./20161005-050301-0000004-krah.tm-users-Re_ TortoiseSVN RepoBrowser_ 
Feature request for Search function.pdf
 -i ./0161005-063533-0000005-danielsh-rainer.senn-Re_ TortoiseSVN RepoBrowser_ 
Feature request for Search function.pdf
 -i ./20161006-034215-0000006-jcorvel-danielsh-Re_ TortoiseSVN RepoBrowser_ 
Feature request for Search function.pdf
 -i ./20170726-121544-0000010-danielsh-announce-[ANNOUNCE] Apache Subversion 
1.10.0-alpha3 released.pdf
 -i ./20171031-190640-0000015-vincent-svn-users-Re_ Error E160016 _... is not a 
directory in filesystem ....pdf
 -i ./20180207-080621-0000012-nkadel-brane-Re_ svn diff non-temporary files 
option.pdf
 -i ./20180210-025956-0000013-tschoening-users-Does svn client binary honors 
LANG env variable on Windows.pdf
 -i ./20180219-084045-0000014-igtorque.eliop-users-Not so cheap moves.pdf

 

 

 

> Add command line options to accept file containing list of files to merge
> -------------------------------------------------------------------------
>
>                 Key: PDFBOX-5445
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5445
>             Project: PDFBox
>          Issue Type: New Feature
>    Affects Versions: 3.0.0 PDFBox
>         Environment: windows 11, 10
>            Reporter: Zbigniew Minciel
>            Priority: Major
>
> Users of free MBox Mail Viewer require to export hundreds of emails into PDF 
> and merge them into a single PDF document. Due to command line length  
> limitations, smaller subsets of PDF mails have to be merged first and merge 
> again multiple times. Merging must preserve order of emails. Option to accept 
> a file containing a list of PDF files to merge would be very helpful.
> Another very useful option would be suppress "Page Break" at the end of PDF 
> document to allow multiple small emails to fit on a page. Frequently, emails 
> within the same thread are small.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to