Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 04-03-2015, 08:52 PM   #1
truth1ness
Zealot
truth1ness is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!truth1ness is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!truth1ness is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!truth1ness is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!truth1ness is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!truth1ness is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!truth1ness is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!truth1ness is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!truth1ness is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!truth1ness is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!truth1ness is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!
 
Posts: 126
Karma: 50000
Join Date: Mar 2015
Device: none
Getting started with command line

This is probably a really dumb question but I'm completely new to command line stuff and I can't even get a sample recipe running after reading the tutorial. To get started on my first recipe I made a myrecipe.recipe file with the example from the tutorial pasted in it but I can't figure out how to run it.

The tutorial says:

Quote:
run this command: ebook-convert myrecipe.recipe .epub --test -vv --debug-pipeline debug

Note: On OS X, the command line tools are inside the calibre bundle, for example, if you installed calibre in /Applications the command line tools are in /Applications/calibre.app/Contents/console.app/Contents/MacOS/.
I'm not really sure what I'm supposed to do with these two bits of information. Here is what I've tried so far: First, I simply opened Terminal.app and navigated to my recipe file in /Users/mmarotta/Code/myrecipe.recipe and typed in the command but just got a "-bash: ebook-convert: command not found" error. Then I tried navigating Terminal to the folder with ebook-convert in it and used the full path of the file to point ebook-convert to it but I get the same "command not found" error. I can't even get a basic ebook-convert -h to work without that error.

I tried double clicking directly on the "ebook-convert" file. A Terminal window opened with some text but I couldn't type anything because it had a "logout" command at the end.

Sorry if this is really dumb but how do I get the recipe file into the ebook-convert file? How do I even communicate with the ebook-convert file? Am I even remotely on the right path?
truth1ness is offline   Reply With Quote
Old 04-03-2015, 10:29 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,221
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Open Terminal, change to directory with .recipe file, run

/Applications/calibre.app/Contents/console.app/Contents/MacOS/ebook-convert myfile.recipe .epub -vv
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Times UK from command line JB90 Recipes 2 07-13-2013 06:34 AM
Command line - HOW? bookfanmd Calibre 19 01-12-2013 09:17 AM
Help with command line shotsky Conversion 6 07-23-2012 09:40 AM
Need help using command line tsger Recipes 2 07-16-2011 03:23 AM
Why use the command line? slantybard Calibre 6 07-22-2009 12:17 PM


All times are GMT -4. The time now is 07:39 AM.


MobileRead.com is a privately owned, operated and funded community.