- --help, -h
- Wyświetla ten tekst pomocy i kończy działanie
- --library-path,
--with-library
- Ścieżka do biblioteki calibre. Domyślnie
używana jest ścieżka zapisana w ustawieniach.
Możesz także połączyć się z
serwerem zawartości kalibru, aby wykonywać działania
na zdalnych bibliotekach. Aby to zrobić, użyj adresu URL w
postaci: http://nazwa_hosta:port/#id_biblioteki, na przykład
http://localhost:8080/#mylibrary.id_biblioteki to identyfikator
biblioteki, z którą chcesz się
połączyć na serwerze zawartości. Możesz
użyć specjalnej wartości Library_id wynoszącej
-, aby uzyskać listę identyfikatorów bibliotek
dostępnych na serwerze. Aby uzyskać
szczegółowe informacje na temat konfigurowania
dostępu przez serwer treści, zobacz
https://manual.calibre-ebook.com/generated/en/calibredb.html.
- --password
- Hasło do połączenia z serwerem treści calibre.
Aby odczytać hasło ze standardowego wejścia,
użyj specjalnej wartości: <stdin>. Aby odczytać
hasło z pliku, użyj: <f:/path/to/file> (tj. <f:
followed by the full path to the file and a trailing >). Wymagane
są nawiasy kątowe podane powyżej, pamiętaj,
aby je uciec lub użyj cudzysłowu dla swojej
powłoki.
- --timeout
- The timeout, in seconds, when connecting to a calibre library over the
network. The default is two minutes.
- --username
- Nazwa użytkownika służąca do
połączenia się z serwerem zawartości
calibre
- --version
- Wyświetla wersję programu i kończy
działanie
Wyświetl książki dostępne w bazie
danych calibre.
Whenever you pass arguments to calibredb that have spaces in them,
enclose the arguments in quotation marks. For example: "/some path/with
spaces"
- --fields,
-f
- Pola do wyświetlenia podczas wyświetlania
książek w bazie danych. Powinna być oddzielona
przecinkami lista pól Dostępne pola: author_sort, authors,
comments, cover, formats, identifiers, isbn, languages, last_modified,
pubdate, publisher, rating, series, series_index, size, tags, timestamp,
title, uuid Domyślnie: % domyślnie. Do wybrania wszystkich
pól można użyć specjalnego pola
„wszystkie”. Oprócz wbudowanych pól
powyżej pola niestandardowe są również
dostępne jako *nazwa_pola, na przykład dla niestandardowego
pola #oceń, użyj nazwy: *ocena
- --for-machine
- Generuj wynik w formacie JSON, bardziej odpowiednim do przetwarzania
maszynowego. W tym przypadku szerokość wiersza i separator
są ignorowane.
- --limit
- Maksymalna liczba wyświetlanych rezultatów.
Domyślnie: all
- --line-width,
-w
- Maksymalna szerokość pojedynczej linii w pliku wynikowym.
Domyślnie dostosowana do wykrytego rozmiaru ekranu.
- --prefix
- Przedrostek dla wszystkich ścieżek do plików.
Domyślnie jest to ścieżka absolutna do folderu
biblioteki.
- --search,
-s
- Filtruj wyniki wg zapytania wyszukiwania. Format zapytania wyszukiwania
można znaleźć w dokumentacji wyszukiwania w
Podręczniku użytkownika. Domyślnie brak
filtrowania.
- --separator
- Znak używany do oddzielania pól. Domyślny to
spacja.
- --sort-by
- Pole, wedle którego sortować wyniki. Dostępne pola:
author_sort, authors, comments, cover, formats, identifiers, isbn,
languages, last_modified, pubdate, publisher, rating, series,
series_index, size, tags, timestamp, title, uuid Domyślnie: id
calibredb add [options] file1 file2 file3 ...
Add the specified files as books to the database. You can also
specify folders, see the folder related options below.
Whenever you pass arguments to calibredb that have spaces in them,
enclose the arguments in quotation marks. For example: "/some path/with
spaces"
- --automerge,
-m
- Jeśli zostaną znalezione książki o podobnych
tytułach i autorach, automatycznie połącz
przychodzące formaty (pliki) z istniejącymi rekordami
książek. Wartość „ignoruj”
oznacza, że zduplikowane formaty są odrzucane.
Wartość „nadpisuj” oznacza, że
zduplikowane formaty w bibliotece są nadpisywane nowo dodanymi
plikami. Wartość „nowy_record” oznacza,
że zduplikowane formaty są umieszczane w nowym rekordzie
książki.
- --cover,
-c
- Ścieżka do okładki, która zostanie
użyta dla dodanej książki.
- --duplicates,
-d
- Dodawaj książki do bazy danych, nawet jeśli
już istnieją. Porównanie odbywa się na
podstawie tytułów książek i autorów.
Zauważ, że opcja --automerge ma
pierwszeństwo.
- --empty,
-e
- Dodaj pustą książkę
(książkę bez żadnych formatów)
- --identifier,
-I
- Set the identifiers for this book, e.g. -I asin:XXX -I isbn:YYY
- --languages,
-l
- Oddzielona przecinkami lista języków (najlepiej
użyć kodów językowych ISO639, choć
niektóre nazwy języków mogą
również zostać rozpoznane)
Options to control the adding of books from folders. By default
only files that have extensions of known e-book file types are added.
- --add
- A filename (glob) pattern, files matching this pattern will be added when
scanning folders for files, even if they are not of a known e-book file
type. Can be specified multiple times for multiple patterns.
- --ignore
- A filename (glob) pattern, files matching this pattern will be ignored
when scanning folders for files. Can be specified multiple times for
multiple patterns. For example: *.pdf will ignore all PDF files
- --one-book-per-directory,
-1
- Assume that each folder has only a single logical book and that all files
in it are different e-book formats of that book
Remove the books identified by ids from the database. ids should
be a comma separated list of id numbers (you can get id numbers by using the
search command). For example, 23,34,57-85 (when specifying a range, the last
number in the range is not included).
Whenever you pass arguments to calibredb that have spaces in them,
enclose the arguments in quotation marks. For example: "/some path/with
spaces"
calibredb add_format [opcje] id plik_książki
Dodaj plik_książki do dostępnych
formatów książki o identyfikatorze id. Identyfikator
można uzyskać za pomocą polecenia wyszukiwania.
Jeśli format istnieje, zostanie zastąpiony - o ile nie
użyto opcji nie zastępować.
Whenever you pass arguments to calibredb that have spaces in them,
enclose the arguments in quotation marks. For example: "/some path/with
spaces"
calibredb remove_format [options] id fmt
Remove the format fmt from the logical book identified by id. You
can get id by using the search command. fmt should be a file extension like
LRF or TXT or EPUB. If the logical book does not have fmt available, do
nothing.
Whenever you pass arguments to calibredb that have spaces in them,
enclose the arguments in quotation marks. For example: "/some path/with
spaces"
calibredb show_metadata [options] id
Show the metadata stored in the calibre database for the book
identified by id. id is an id number from the search command.
Whenever you pass arguments to calibredb that have spaces in them,
enclose the arguments in quotation marks. For example: "/some path/with
spaces"
- --as-opf
- Wydrukuj metadane w formacie OPF (XML)
calibredb set_metadata [options] id [/path/to/metadata.opf]
Set the metadata stored in the calibre database for the book
identified by id from the OPF file metadata.opf. id is an id number from the
search command. You can get a quick feel for the OPF format by using the
--as-opf switch to the show_metadata command. You can also set the metadata
of individual fields with the --field option. If you use the --field option,
there is no need to specify an OPF file.
Whenever you pass arguments to calibredb that have spaces in them,
enclose the arguments in quotation marks. For example: "/some path/with
spaces"
- --field,
-f
- Pole do zmiany w formacie nazwa_pola:wartość. Na
przykład --field tags:etykieta1,etykieta2. Użyj
--list-fields jeśli chcesz otrzymać listę
wszystkich pól. Możesz użyć tej opcji
wielokrotnie, aby zmienić jednocześnie wiele pól.
Uwaga: dla języków należy użyć
kodów języków zgodnych z ISO639 (tzn. en dla
angielskiego, fr dla francuskiego, pl dla polskiego itd.) Dla
identyfikatorów należy użyć składni
--field identifiers:isbn:XXXX,doi:YYYYY. W przypadku pól
boolean (tak/nie) należy użyć true/false albo
tak/nie.
calibredb export [options] ids
Export the books specified by ids (a comma separated list) to the
filesystem. The export operation saves all formats of the book, its
cover and metadata (in an opf file). You can get id numbers from the search
command.
Whenever you pass arguments to calibredb that have spaces in them,
enclose the arguments in quotation marks. For example: "/some path/with
spaces"
- --all
- Eksportuj wszystkie książki w bazie, ignoruj listę
identyfikatorów.
- --dont-asciiize
- Przekonwertuj wszystkie inne niż angielskie znaki Calibre na
angielskie odpowiedniki nazw plików. Jest to przydatne,
jeśli zapisujesz do starszego systemu plików bez
pełnej obsługi nazw plików Unicode.
Określając ten przełącznik
wyłączysz to zachowanie
- --dont-save-cover
- calibre zapisze okładkę w oddzielnym pliku obok
właściwego pliku z książką.
Określając ten przełącznik
wyłączysz to zachowanie
- --dont-update-metadata
- Zwykle calibre uaktualni metadane w zapisanych plikach tymi, które
są w bibliotece calibre. Sprawia, że zapisywanie na dysku
jest wolniejsze. Określając ten przełącznik
wyłączysz to zachowanie
- --dont-write-opf
- calibre zapisze metadane do osobnego pliku OPF obok
właściwego pliku z książką.
Określając ten przełącznik
wyłączysz to zachowanie
- --formats
- Oddzielana przecinkami lista formatów do zapisania dla
każdej książki. Domyślnie zapisywane są
wszystkie dostępne formaty.
- --single-dir
- Eksportuj wszystkie książki do pojedynczego katalogu
- --template
- The template to control the filename and folder structure of the saved
files. Default is "{author_sort}/{title}/{title} -
{authors}" which will save books into a per-author subfolder
with filenames containing title and author. Available controls are:
{author_sort, authors, id, isbn, languages, last_modified, pubdate,
publisher, rating, series, series_index, tags, timestamp, title}
- --timefmt
- Format wyświetlania dat. %d - dzień, %b - miesiąc, %m
- numer miesiąca, %Y - rok. Domyślnie: %b, %Y
- --to-dir
- Eksportuj książki do wybranego katalogu. Domyślny to
.
calibredb catalog /path/to/destination.(csv|epub|mobi|xml...) [options]
Export a catalog in format specified by path/to/destination
extension. Options control how entries are displayed in the generated
catalog output. Note that different catalog formats support
different sets of options. To see the different options, specify the name of
the output file and then the --help option.
Whenever you pass arguments to calibredb that have spaces in them,
enclose the arguments in quotation marks. For example: "/some path/with
spaces"
- --ids, -i
- Lista ID oddzielona przecinkami do katalogu. Jeśli jest
zadeklarowane, --search jest ignorowane. Domyślnie:
wszystkie (all)
- --search,
-s
- Filtruj wyniki wg zapytania wyszukiwania. Format zapytania wyszukiwania
można znaleźć w dokumentacji wyszukiwania w
Podręczniku użytkownika. Domyślnie: brak
filtrowania.
- --verbose,
-v
- Pokazuj szczegółową informację
wyjściową. Przydatne przy debugowaniu.
- --catalog-title
- Title of generated catalog used as title in metadata. Default: 'My
Books' Applies to: AZW3, EPUB, MOBI output formats
- --cross-reference-authors
- Create cross-references in Authors section for books with multiple
authors. Default: 'False' Applies to: AZW3, EPUB, MOBI
output formats
- --debug-pipeline
- Save the output from different stages of the conversion pipeline to the
specified folder. Useful if you are unsure at which stage of the
conversion process a bug is occurring. Default: 'None'
Applies to: AZW3, EPUB, MOBI output formats
- --exclude-genre
- Regex describing tags to exclude as genres. Default:
'[.+]|^+$' excludes bracketed tags, e.g. '[Project
Gutenberg]', and '+', the default tag for read books.
Applies to: AZW3, EPUB, MOBI output formats
- --exclusion-rules
- Specifies the rules used to exclude books from the generated catalog. The
model for an exclusion rule is either ('<rule
name>','Tags','<comma-separated list of
tags>') or ('<rule name>','<custom
column>','<pattern>'). For example:
(('Archived
books','#status','Archived'),) will
exclude a book with a value of 'Archived' in the custom
column 'status'. When multiple rules are defined, all rules
will be applied. Default:
"(('Catalogs','Tags','Catalog'),)"
Applies to: AZW3, EPUB, MOBI output formats
- --generate-authors
- Włącz sekcję "Autorzy" do
katalogu. Domyślnie: 'False' Dotyczy formatów
wyjściowych AZW3, EPUB, MOBI
- --generate-descriptions
- Włącz sekcję "Opisy" do
katalogu. Domyślnie: 'False' Dotyczy formatów
wyjściowych AZW3, EPUB, MOBI
- --generate-genres
- Włącz sekcję "Gatunki" do
katalogu. Domyślnie: 'False' Dotyczy formatów
wyjściowych AZW3, EPUB, MOBI
- --generate-recently-added
- Włącz sekcję "Ostatnio
dodane" do katalogu. Domyślnie: 'False'
Dotyczy formatów wyjściowych AZW3, EPUB, MOBI
- --generate-series
- Włącz sekcję "Serie" do
katalogu. Domyślnie: 'False' Dotyczy formatów
wyjściowych AZW3, EPUB, MOBI
- --generate-titles
- Włącz sekcję "Tytuły"
do katalogu. Domyślnie: 'False' Dotyczy
formatów wyjściowych AZW3, EPUB, MOBI
- --genre-source-field
- Pole źródłowe dla sekcji
"Gatunki". Domyślnie:
'Etykiety' Dotyczy formatów wyjściowych: AZW3,
EPUB, MOBI
- Pole użytkownika zawierające tekst włączany do
opisu. Domyślnie: '' Dotyczy formatów
wyjściowych: AZW3, EPUB, MOBI
- --merge-comments-rule
- #<custom field>:[before|after]:[True|False] specifying: <custom
field> Custom field containing notes to merge with comments
[before|after] Placement of notes with respect to comments [True|False] -
A horizontal rule is inserted between notes and comments Default:
'::' Applies to: AZW3, EPUB, MOBI output formats
- --output-profile
- Określa profil wyjściowy. W niektórych przypadkach
profil wyjściowy jest konieczny do optymalizacji dla konkretnego
urządzenia. Na przykład w przypadku 'kindle'
lub 'kindle_dx' tworzy strukturę spisu treści
z sekcjami i artykułami. Domyślnie: 'None'
Dotyczy formatów wyjściowych AZW3, EPUB, MOBI
- --prefix-rules
- Określa reguły używane do przypisywania
przedrostków oznaczających przeczytane
książki, listę życzeń i inne
zdefiniowane przez użytkownika. Schemat reguły jest
następujący: ('<nazwa
reguły>','<pole
źródłowe>','<wzorzec>','<przedrostek>').
Jeśli zdefiniowano wiele reguł zostanie zastosowana pierwsza
pasująca. Domyślnie: "(('Read
books','tags','+','✓'),('Wishlist
item','tags','Wishlist','×'))"
Dotyczy formatów: AZW3, EPUB, MOBI
- --preset
- Użyj zestawu stworzonego za pomocą GUI Catalog buildera.
Zestaw zawiera wszystkie ustawienia potrzebne do utworzenia katalogu.
Domyślnie: 'None' Dotyczy formatów
wyjściowych AZW3, EPUB, MOBI.
- --thumb-width
- Podpowiedź rozmiaru (w calach) dla okładek
książek w katalogu. Zakres: 1.0 – 2.0
Domyślnie: '1.0' Dotyczy formatów
wyjściowych AZW3, EPUB, MOBI
- --use-existing-cover
- Zamień istniejącą okładkę przy
generowaniu katalogu. Domyślnie: 'False' Dotyczy
formatów wyjściowych AZW3, EPUB, MOBI
calibredb saved_searches [options] (list|add|remove)
Manage the saved searches stored in this database. If you try to
add a query with a name that already exists, it will be replaced.
Syntax for adding:
calibredb saved_searches add search_name
search_expression
Syntax for removing:
calibredb saved_searches remove search_name
Whenever you pass arguments to calibredb that have spaces in them,
enclose the arguments in quotation marks. For example: "/some path/with
spaces"
calibredb add_custom_column [options] label name datatype
Stwórz własną kolumnę. label to nazwa
kolumny w języku komputerowym. Nie powinna zawierać spacji ani
dwukropka. name to nazwa ludzka kolumny. datatype to jeden z: bool,
comments, composite, datetime, enumeration, float, int, rating, series,
text
Whenever you pass arguments to calibredb that have spaces in them,
enclose the arguments in quotation marks. For example: "/some path/with
spaces"
- --display
- Słownik opcji, określających jak będą
interpretowane dane w tej kolumnie. Są one w formacie JSON. Do
wyświetlenia kolumn można użyć
--display"{\ "enum_values\ ":[\
"val1\ ", \ "val2\
"]}" Zmienna display może
przyjąć wiele opcji. Dla kolejnych typów kolumn:
złożone: composite_template, composite_sort, make_category,
contains_html, use_decorations daty i czasu: date_format wyliczenia:
enum_values, enum_colors, use_decorations liczbowe: number_format
tekstowe: is_names, use_decorations Najlepszym sposobem na znalezienie
właściwej kombinacji jest stworzenie własnej kolumny
odpowiedniego typu w interfejsie użytkownika, a potem zajrzenie do
pliku OPF książki (przy założeniu, że
plik OPF został uaktualniony po stworzeniu kolumny). Tam znajduje
się JSON dla nowej kolumny.
- --is-multiple
- Ta kolumna przechowuje dane etykietopodobne (np. wielokrotne
wartości oddzielone przecinkami). Ma zastosowanie tylko
jeśli typ danych to tekst.
calibredb custom_columns [opcje]
Wyświetla listę dostępnych, własnych
kolumn. Pokazuje ich nazwę oraz id.
Whenever you pass arguments to calibredb that have spaces in them,
enclose the arguments in quotation marks. For example: "/some path/with
spaces"
calibredb remove_custom_column [options] label
Remove the custom column identified by label. You can see
available columns with the custom_columns command.
Whenever you pass arguments to calibredb that have spaces in them,
enclose the arguments in quotation marks. For example: "/some path/with
spaces"
calibredb set_custom [options] column id value
Set the value of a custom column for the book identified by id.
You can get a list of ids using the search command. You can get a list of
custom column names using the custom_columns command.
Whenever you pass arguments to calibredb that have spaces in them,
enclose the arguments in quotation marks. For example: "/some path/with
spaces"
- --append,
-a
- Jeśli kolumna przechowuje wielokrotne wartości,
dołącz określone wartości do
istniejących, zamiast je zastępować.
calibredb restore_database [options]
Restore this database from the metadata stored in OPF files in
each folder of the calibre library. This is useful if your metadata.db file
has been corrupted.
WARNING: This command completely regenerates your database. You
will lose all saved searches, user categories, plugboards, stored per-book
conversion settings, and custom recipes. Restored metadata will only be as
accurate as what is found in the OPF files.
Whenever you pass arguments to calibredb that have spaces in them,
enclose the arguments in quotation marks. For example: "/some path/with
spaces"
- --really-do-it,
-r
- Naprawdę dokonaj przywrócenia. Ta komenda nie uruchomi
się dopóki ta opcja nie zostanie określona.
calibredb check_library [options]
Wykonaj sprawdzenie w systemie plików biblioteki.
Zgłoszenia są invalid_titles, extra_titles, invalid_authors,
extra_authors, missing_formats, extra_formats, extra_files, missing_covers,
extra_covers, failed_folders
Whenever you pass arguments to calibredb that have spaces in them,
enclose the arguments in quotation marks. For example: "/some path/with
spaces"
- --ignore_names,
-n
- Lista nazw rozdzielona przecinkiem do zignorowania. Domyślnie:
wszystkie
- --report,
-r
- Lista raportów rozdzielona przecinkiem. Domyślnie:
wszystkie
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"
- --categories,
-r
- Lista kategorii wyszukiwań nazw oddzielona przecinkami.
Domyślnie: wszystkie
- --dialect
- Rodzaj pliku CSV do utworzenia. Wybór: excel, excel-tab, unix
- --item_count,
-i
- Wyprowadź tylko taką ilość elementów w
kategorii zamiast wyliczać na każdy element wewnątrz
kategorii
- --width,
-w
- Maksymalna szerokość pojedynczej linii w pliku wynikowym.
Domyślnie dostosowana do wykrytego rozmiaru ekranu.
calibredb backup_metadata [options]
Backup the metadata stored in the database into individual OPF
files in each books folder. This normally happens automatically, but you can
run this command to force re-generation of the OPF files, with the --all
option.
Note that there is normally no need to do this, as the OPF files
are backed up automatically, every time metadata is changed.
Whenever you pass arguments to calibredb that have spaces in them,
enclose the arguments in quotation marks. For example: "/some path/with
spaces"
- --all
- Domyślnie to polecenie operuje na książkach,
które mają nieaktualne pliki OPF. Ta opcja powoduje,
że działaniem zostaną objęte wszystkie
książki.
calibredb clone path/to/new/library
Create a clone of the current library. This creates a new,
empty library that has all the same custom columns, Virtual libraries and
other settings as the current library.
The cloned library will contain no books. If you want to create a
full duplicate, including all books, then simply use your filesystem tools
to copy the library folder.
Whenever you pass arguments to calibredb that have spaces in them,
enclose the arguments in quotation marks. For example: "/some path/with
spaces"
calibredb embed_metadata [opcje] id_książki
Uaktualnij metadane w plikach książki z biblioteki
calibre na podstawie bazy danych biblioteki Domyślnie metadane
są uaktualniane jedynie podczas eksportowania plików z
calibre, to polecenie pozwala na uaktualnienie ich bez eksportu.
Należy pamiętać, że różne formaty
obsługują różne metadane. Można
użyć specjalnej wartości 'all' jako
id_książki, by uaktualnić metadane we wszystkich
książkach w bibliotece. Można również
podać wiele identyfikatorów książek,
oddzielając je spacjami oraz zakresy identyfikatorów, w
których są one oddzielone myślnikami. Na
przykład: calibredb embed_metadata 1 2 10-15 23
Whenever you pass arguments to calibredb that have spaces in them,
enclose the arguments in quotation marks. For example: "/some path/with
spaces"
- --only-formats,
-f
- Uaktualnij metadane wyłącznie w plikach o podanym formacie.
Podaj wielokrotnie dla wielu formatów. Domyślnie
uaktualniane są wszystkie formaty.
calibredb search [options] search expression
Search the library for the specified search term, returning
a comma separated list of book ids matching the search expression.
The output format is useful to feed into other commands that accept a list
of ids as input.
The search expression can be anything from calibre's
powerful search query language, for example: calibredb search
author:asimov 'title:"i robot"'
Whenever you pass arguments to calibredb that have spaces in them,
enclose the arguments in quotation marks. For example: "/some path/with
spaces"
- --limit,
-l
- Maksymalna liczba wyświetlanych rezultatów. Domyślnie
wszystkie.