R – How to use any2mobi command line tool (part of Calibre) to make mobi files from HTML


I am on MAC OS X 10.5.5. I installed Calibre, a tool for converting e-book files from one format to another. It has a GUI as well as command line tools. I am trying to run the command line tool "any2mobi" to convert HTML files to MOBI pocket format or Kindle AZW format, with a TOC.

I get the error "-bash: any2mobi: command not found". Clearly, any2mobi is not in my path. Where is it? I tried searching but came up empty.

I installed version 0.6.0b6 of Calibre.

Best Solution

From the calibre download page:

  1. Before trying to use the command line tools, you must run the app at least once. This will ask you for you password and then setup the symbolic links for the command line tools.
  2. The app cannot be run from within the dmg. You must drag it to a folder on your filesystem (The Desktop, Applications, wherever).
  3. In order for localization of the user interface in your language, select your language in the preferences (by pressing u8+P) and select your language.

Have you done all three of these?