Other than your love for large images, the key is to place a ./ before the command you want to execute to run it from the current directory. That is, instead of calibredb list_categories --help, use ./calibredb list_categories --help
Spoiler:
Code:
Last login: Fri Mar 25 13:39:05 on console
DavidB@Davids-VMMac ~ % cd /Applications/calibre.app/Contents/MacOS
DavidB@Davids-VMMac MacOS % ls
calibre calibredb fetch-ebook-metadata
calibre-complete ebook-convert lrf2lrs
calibre-customize ebook-device lrfviewer
calibre-debug ebook-edit lrs2lrf
calibre-parallel ebook-meta markdown-calibre
calibre-server ebook-polish web2disk
calibre-smtp ebook-viewer
DavidB@Davids-VMMac MacOS % ./calibredb list_categories --help
Usage: calibredb list_categories [options]
Produce a report of the category information in the database. The
information is the equivalent of what is shown in the Tag browser.
Whenever you pass arguments to calibredb that have spaces in them, enclose the arguments in quotation marks. For example: "/some path/with spaces"
Options:
-i, --item_count Output only the number of items in a category instead
of the counts per item within the category
-c, --csv Output in CSV
--dialect=DIALECT The type of CSV file to produce. Choices: excel,
excel-tab, unix
-r REPORT, --categories=REPORT
Comma-separated list of category lookup names.
Default: all
-w WIDTH, --width=WIDTH
The maximum width of a single line in the output.
Defaults to detecting screen size.
GLOBAL OPTIONS:
--library-path=LIBRARY_PATH, --with-library=LIBRARY_PATH
Path to the calibre library. Default is to use the
path stored in the settings. You can also connect to a
calibre Content server to perform actions on remote
libraries. To do so use a URL of the form:
http://hostname:port/#library_id for example,
http://localhost:8080/#mylibrary. library_id is the
library id of the library you want to connect to on
the Content server. You can use the special library_id
value of - to get a list of library ids available on
the server. For details on how to setup access via a
Content server, see https://manual.calibre-
ebook.com/generated/en/calibredb.html.
-h, --help show this help message and exit
--version show program's version number and exit
--username=USERNAME
Username for connecting to a calibre Content server
--password=PASSWORD
Password for connecting to a calibre Content server.
To read the password from standard input, use the
special value: <stdin>. To read the password from a
file, use: <f:/path/to/file> (i.e. <f: followed by the
full path to the file and a trailing >). The angle
brackets in the above are required, remember to escape
them or use quotes for your shell.
--timeout=TIMEOUT The timeout, in seconds, when connecting to a calibre
library over the network. The default is two minutes.
Created by Kovid Goyal <kovid@kovidgoyal.net>
DavidB@Davids-VMMac MacOS %