View Single Post
Old 08-11-2009, 01:11 PM   #1
PaulChernoch
Junior Member
PaulChernoch began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Aug 2009
Device: Kindle 2
Where are the command line tools?

I could not find the command line tools, so I tried to upgrade, but that did not help.

1. I downloaded 0.6.6. (On a MAC OS X 10.5.8.)
2. I uncompressed and copied the Application from the DMG into my Applications/Utilities directory.
3. I ran the Calibre application. It shows the list of Books I had imported previously.
4. I open a console and list the contents of my /usr/bin directory, grepping for links related to Calibre:

Anton:ImageMagick paulchernoch$ ls -lsa /usr/bin | grep calibre
8 lrwxr-xr-x 1 root wheel 71 Jun 29 23:31 any2epub -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/any2epub
8 lrwxr-xr-x 1 root wheel 70 Jun 29 23:31 any2lit -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/any2lit
8 lrwxr-xr-x 1 root wheel 70 Jun 29 23:31 any2lrf -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/any2lrf
8 lrwxr-xr-x 1 root wheel 71 Jun 29 23:31 any2mobi -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/any2mobi
8 lrwxr-xr-x 1 root wheel 70 Jul 8 13:29 calibre -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/calibre
8 lrwxr-xr-x 1 root wheel 79 Jul 8 13:29 calibre-complete -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/calibre-complete
8 lrwxr-xr-x 1 root wheel 80 Jul 8 13:29 calibre-customize -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/calibre-customize
8 lrwxr-xr-x 1 root wheel 76 Jul 8 13:29 calibre-debug -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/calibre-debug
8 lrwxr-xr-x 1 root wheel 81 Jun 29 23:31 calibre-fontconfig -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/calibre-fontconfig
8 lrwxr-xr-x 1 root wheel 79 Jul 8 13:29 calibre-parallel -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/calibre-parallel
8 lrwxr-xr-x 1 root wheel 77 Jul 8 13:29 calibre-server -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/calibre-server
8 lrwxr-xr-x 1 root wheel 75 Jul 8 13:29 calibre-smtp -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/calibre-smtp
8 lrwxr-xr-x 1 root wheel 72 Jul 8 13:29 calibredb -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/calibredb
8 lrwxr-xr-x 1 root wheel 73 Jun 29 23:31 comic2epub -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/comic2epub
8 lrwxr-xr-x 1 root wheel 72 Jun 29 23:31 comic2lrf -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/comic2lrf
8 lrwxr-xr-x 1 root wheel 73 Jun 29 23:31 comic2mobi -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/comic2mobi
8 lrwxr-xr-x 1 root wheel 72 Jun 29 23:31 comic2pdf -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/comic2pdf
8 lrwxr-xr-x 1 root wheel 76 Jul 8 13:29 ebook-convert -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/ebook-convert
8 lrwxr-xr-x 1 root wheel 75 Jul 8 13:29 ebook-device -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/ebook-device
8 lrwxr-xr-x 1 root wheel 73 Jul 8 13:29 ebook-meta -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/ebook-meta
8 lrwxr-xr-x 1 root wheel 75 Jul 8 13:29 ebook-viewer -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/ebook-viewer
8 lrwxr-xr-x 1 root wheel 72 Jun 29 23:31 epub-meta -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/epub-meta
8 lrwxr-xr-x 1 root wheel 71 Jun 29 23:31 epub2lrf -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/epub2lrf
8 lrwxr-xr-x 1 root wheel 71 Jun 29 23:31 fb2-meta -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/fb2-meta
8 lrwxr-xr-x 1 root wheel 70 Jun 29 23:31 fb22lrf -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/fb22lrf
8 lrwxr-xr-x 1 root wheel 73 Jun 29 23:31 feeds2disk -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/feeds2disk
8 lrwxr-xr-x 1 root wheel 73 Jun 29 23:31 feeds2epub -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/feeds2epub
8 lrwxr-xr-x 1 root wheel 72 Jun 29 23:31 feeds2lrf -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/feeds2lrf
8 lrwxr-xr-x 1 root wheel 73 Jun 29 23:31 feeds2mobi -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/feeds2mobi
8 lrwxr-xr-x 1 root wheel 83 Jul 8 13:29 fetch-ebook-metadata -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/fetch-ebook-metadata
8 lrwxr-xr-x 1 root wheel 72 Jun 29 23:31 html2epub -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/html2epub
8 lrwxr-xr-x 1 root wheel 71 Jun 29 23:31 html2lrf -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/html2lrf
8 lrwxr-xr-x 1 root wheel 71 Jun 29 23:31 html2oeb -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/html2oeb
8 lrwxr-xr-x 1 root wheel 71 Jun 29 23:31 imp-meta -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/imp-meta
8 lrwxr-xr-x 1 root wheel 75 Jul 8 13:29 librarything -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/librarything
8 lrwxr-xr-x 1 root wheel 71 Jun 29 23:31 lit-meta -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/lit-meta
8 lrwxr-xr-x 1 root wheel 70 Jun 29 23:31 lit2lrf -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/lit2lrf
8 lrwxr-xr-x 1 root wheel 70 Jun 29 23:31 lit2oeb -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/lit2oeb
8 lrwxr-xr-x 1 root wheel 71 Jun 29 23:31 lrf-meta -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/lrf-meta
8 lrwxr-xr-x 1 root wheel 70 Jul 8 13:29 lrf2lrs -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/lrf2lrs
8 lrwxr-xr-x 1 root wheel 72 Jul 8 13:29 lrfviewer -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/lrfviewer
8 lrwxr-xr-x 1 root wheel 70 Jul 8 13:29 lrs2lrf -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/lrs2lrf
8 lrwxr-xr-x 1 root wheel 79 Jul 8 13:29 markdown-calibre -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/markdown-calibre
8 lrwxr-xr-x 1 root wheel 72 Jun 29 23:31 mobi-meta -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/mobi-meta
8 lrwxr-xr-x 1 root wheel 71 Jun 29 23:31 mobi2lrf -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/mobi2lrf
8 lrwxr-xr-x 1 root wheel 71 Jun 29 23:31 mobi2oeb -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/mobi2oeb
8 lrwxr-xr-x 1 root wheel 71 Jun 29 23:31 odt-meta -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/odt-meta
8 lrwxr-xr-x 1 root wheel 70 Jun 29 23:31 odt2oeb -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/odt2oeb
8 lrwxr-xr-x 1 root wheel 70 Jun 29 23:31 oeb2lit -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/oeb2lit
8 lrwxr-xr-x 1 root wheel 71 Jun 29 23:31 oeb2mobi -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/oeb2mobi
8 lrwxr-xr-x 1 root wheel 71 Jun 29 23:31 opf-meta -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/opf-meta
8 lrwxr-xr-x 1 root wheel 71 Jun 29 23:31 pdf-meta -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/pdf-meta
8 lrwxr-xr-x 1 root wheel 70 Jun 29 23:31 pdf2lrf -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/pdf2lrf
8 lrwxr-xr-x 1 root wheel 76 Jul 8 13:29 pdfmanipulate -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/pdfmanipulate
8 lrwxr-xr-x 1 root wheel 72 Jun 29 23:31 pdfreflow -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/pdfreflow
8 lrwxr-xr-x 1 root wheel 70 Jun 29 23:31 pdftrim -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/pdftrim
8 lrwxr-xr-x 1 root wheel 69 Jun 29 23:31 prs500 -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/prs500
8 lrwxr-xr-x 1 root wheel 70 Jun 29 23:31 rb-meta -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/rb-meta
8 lrwxr-xr-x 1 root wheel 71 Jun 29 23:31 rtf-meta -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/rtf-meta
8 lrwxr-xr-x 1 root wheel 70 Jun 29 23:31 rtf2lrf -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/rtf2lrf
8 lrwxr-xr-x 1 root wheel 70 Jun 29 23:31 txt2lrf -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/txt2lrf
8 lrwxr-xr-x 1 root wheel 71 Jul 8 13:29 web2disk -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/web2disk
8 lrwxr-xr-x 1 root wheel 70 Jun 29 23:31 web2lrf -> /Applications/Utilities/calibre.app/Contents/Resources/loaders/web2lrf

5. NEXT: I do a listing of the place where all those symlinks point:

Anton:ImageMagick paulchernoch$ ls -1 /Applications/Utilities/calibre.app/Contents/Resources/loaders/
calibre
calibre-complete
calibre-customize
calibre-debug
calibre-parallel
calibre-server
calibre-smtp
calibredb
ebook-convert
ebook-device
ebook-meta
ebook-viewer
fetch-ebook-metadata
librarything
lrf2lrs
lrfviewer
lrs2lrf
markdown-calibre
pdfmanipulate
web2disk

NOTICE: There are many fewer entries in this directory than there are links in /usr/bin. Where are the missing programs, like html2lrf and html2epub? What list of files should I see there? Are some of the links left over from previous versions of Calibre and obsolete?

- Paul

Last edited by PaulChernoch; 08-11-2009 at 01:14 PM.
PaulChernoch is offline   Reply With Quote