Commandline conversion epub to pdf
Hi All!
I am interested in batch converting a set of epub books to pdf using the Calibre commandline tools. However I see to not be getting it right.
find ./ -iname "*epub" -type f | while read f; do -e "\e[1mConverting file $f \e[0m" ; ebook-convert "$f" "${f%.epub}.pdf" --enable-heuristics ; done
Can anyone kindly comment on what I am doing wrong in the above? Also is there a way to automatically enable n-cpus when converting to make use of all the available CPUs?
|