View Single Post
Old 01-22-2017, 03:26 PM   #7
signum
Zealot
signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.
 
Posts: 119
Karma: 64428
Join Date: Aug 2011
Device: none
Quote:
Originally Posted by mrowz View Post
Hello,

I've been using a shell script on OS X to import ebooks using the command line tool like this:

imp="$CALIBREDIR/calibre $BOOKDIR/$book"
eval "$imp"

This works, but Calibre jumps to its front to do the import process. When importing a number of books it renders the computer unusable until all the imports are done.

Is there any way to tell Calibre to do its import in the background so this all happens silently?
At the command line, add a space and an ampersand at the end of the shell script name, then hit enter. This will cause it to run in background. You may also have to enter the command "bg". This works in most *nixes, but I haven't actually tried it in OSX, a Unix derivative.
signum is offline   Reply With Quote