Thread: ISBN.ext
View Single Post
Old 06-22-2011, 02:09 PM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
calibredb is the command

The commandline tool calibredb.exe can do this

Code:
Usage: calibredb.exe list [options]

List the books available in the calibre database.


Whenever you pass arguments to calibredb.exe that have spaces in them, enclose the arguments in quotation marks.

Options:
  --version             show program's version number and exit

  -h, --help            show this help message and exit

  -f FIELDS, --fields=FIELDS
                        The fields to display when listing books in the
                        database. Should be a comma separated list of fields.
                        Available fields: *edited,*master,*ok_fc,*pages,*psudo
                        4,*qc,*read,*usertags,author_sort,authors,comments,cov
                        er,formats,identifiers,isbn,last_modified,pubdate,publ
                        isher,rating,series,series_index,size,tags,timestamp,t
                        itle,uuid
                        Default: title,authors. The special field "all" can be
                        used to select all fields. Only has effect in the text
                        output format.

  --sort-by=SORT_BY     The field by which to sort the results.
                        Available fields: publisher,series_index,formats,isbn,
                        uuid,pubdate,rating,series,timestamp,author_sort,cover
                        ,comments,identifiers,last_modified,authors,title,tags
                        ,size
                        Default: none

  --ascending           Sort results in ascending order

  -s SEARCH, --search=SEARCH
                        Filter the results by the search query. For the format
                        of the search query, please see the search related
                        documentation in the User Manual. Default is to do no
                        filtering.

  -w LINE_WIDTH, --line-width=LINE_WIDTH
                        The maximum width of a single line in the output.
                        Defaults to detecting screen size.

  --separator=SEPARATOR
                        The string used to separate fields. Default is a
                        space.

  --prefix=PREFIX       The prefix for all file paths. Default is the absolute
                        path to the library folder.


  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.


Created by Kovid Goyal <kovid@kovidgoyal.net>
theducks is online now   Reply With Quote