View Single Post
Old 12-12-2023, 10:57 PM   #514
tatteredscroll
Connoisseur
tatteredscroll will become famous soon enoughtatteredscroll will become famous soon enoughtatteredscroll will become famous soon enoughtatteredscroll will become famous soon enoughtatteredscroll will become famous soon enoughtatteredscroll will become famous soon enough
 
tatteredscroll's Avatar
 
Posts: 56
Karma: 510
Join Date: Sep 2012
Device: Kindle Paperwhite Kids 2022 11th Gen (PW5)
Quote:
Originally Posted by JimmXinu View Post
EpubMerge itself doesn't have any particular expectations about file names.

Unless it's just an oversight that you forgot to include in your post, I suspect you need the '--' after '--run-plugin EpubMerge' that tells calibre-debug's option parser to stop and pass everything after that to EpubMerge.

From first post:
Ok, I missed that , let me give it another go.

UPDATE: that did the trick. On Linux, to get it to read the full list of filenames in-line and separate, I did this for anyone who cares or might stumble on this in the future

Built file list with
find ~/Documents/mergeTest/ -type f | sed 's/ /\\ /g' | tr '\n' ' ' > epubs-list2

Then ran EpubMerge from calibre-debug CLI
cat epubs-list2 | xargs calibre-debug --run-plugin EpubMerge --

This produced the default merge.epub file.

Last edited by tatteredscroll; 12-12-2023 at 11:04 PM.
tatteredscroll is offline   Reply With Quote