View Single Post
Old 05-29-2012, 06:51 PM   #1
joewiz
Junior Member
joewiz began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2012
Device: iPad
Scripting ebook-convert for batch parallel processing?

Hi! First post here. I'm interested in using the bash shell to script the conversion of my epub files to mobi. Right now I have this working:

Code:
for f in *.epub; do ebook-convert "$f" "`basename "$f" .epub`.mobi"; done;
This works fine, but it only operates on one epub at a time. In the Calibre GUI it seems to run up to 3 conversions at once. Is there a way using the command line to run ebook-convert in parallel? I have a quad-core iMac, which could blow through these much faster in parallel.

Thanks for any suggestions,
Joe

p.s. I'm on Mac OS X 10.7.4, using Calibre 0.8.53.
joewiz is offline   Reply With Quote