Debian Codegraph @

man-pages/ro/man1/calibredb.1

raw
1 .\" Man page generated from reStructuredText
2 .\" by the Docutils 0.22.4 manpage writer.
3 .
4 .
5 .nr rst2man-indent-level 0
6 .
7 .de1 rstReportMargin
8 \\$1 \\n[an-margin]
9 level \\n[rst2man-indent-level]
10 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
11 -
12 \\n[rst2man-indent0]
13 \\n[rst2man-indent1]
14 \\n[rst2man-indent2]
15 ..
16 .de1 INDENT
17 .\" .rstReportMargin pre:
18 . RS \\$1
19 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
20 . nr rst2man-indent-level +1
21 .\" .rstReportMargin post:
22 ..
23 .de UNINDENT
24 . RE
25 .\" indent \\n[an-margin]
26 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
27 .nr rst2man-indent-level -1
28 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
30 ..
31 .TH "CALIBREDB" "1" "septembrie 18, 2026" "9.15.0" "calibre"
32 .SH NAME
33 calibredb \- calibredb
34 .INDENT 0.0
35 .INDENT 3.5
36 .sp
37 .EX
38 calibredb command [options] [arguments]
39 .EE
40 .UNINDENT
41 .UNINDENT
42 .sp
43 \fBcalibredb\fP is the command line interface to the calibre database. It has
44 several sub\-commands, documented below.
45 .sp
46 \fBcalibredb\fP can be used to manipulate either a calibre database
47 specified by path or a calibre Content server running either on
48 the local machine or over the internet. You can start a calibre
49 Content server using either the \fBcalibre\-server\fP
50 program or in the main calibre program click Connect/share  → 
51 Start Content server\&. Since \fBcalibredb\fP can make changes to your
52 calibre libraries, you must setup authentication on the server first. There
53 are two ways to do that:
54 .INDENT 0.0
55 .INDENT 3.5
56 .INDENT 0.0
57 .IP \(bu 2
58 If you plan to connect only to a server running on the same computer,
59 you can simply use the \fB\-\-enable\-local\-write\fP option of the
60 Content server, to allow any program, including calibredb, running on
61 the local computer to make changes to your calibre data. When running
62 the server from the main calibre program, this option is in
63 Preferences → Sharing over the net → Advanced\&. Be careful though,
64 because some browsers, primarily Firefox, allow arbitrary websites to also
65 access local servers. If you use Firefox, it is better to setup username
66 and password, as described below. Local Network Access restriction has
67 still not been implemented as of Firefox v149.
68 .IP \(bu 2
69 If you want to enable access over the internet, then you should setup
70 user accounts on the server and use the \fB\-\-username\fP and \fB\-\-password\fP
71 options to \fBcalibredb\fP to give it access. You can setup
72 user authentication for \fBcalibre\-server\fP by using the \fB\-\-enable\-auth\fP
73 option and using \fB\-\-manage\-users\fP to create the user accounts.
74 If you are running the server from the main calibre program, use
75 Preferences → Sharing over the net → Require username/password\&.
76 .UNINDENT
77 .UNINDENT
78 .UNINDENT
79 .sp
80 To connect to a running Content server, pass the URL of the server to the
81 \fB\-\-with\-library\fP option, see the documentation of that option for
82 details and examples.
83 .INDENT 0.0
84 .IP \(bu 2
85 GLOBAL OPTIONS
86 .IP \(bu 2
87 list
88 .IP \(bu 2
89 add
90 .INDENT 2.0
91 .IP \(bu 2
92 ADDING FROM FOLDERS
93 .UNINDENT
94 .IP \(bu 2
95 remove
96 .IP \(bu 2
97 add_format
98 .IP \(bu 2
99 remove_format
100 .IP \(bu 2
101 show_metadata
102 .IP \(bu 2
103 set_metadata
104 .IP \(bu 2
105 export
106 .IP \(bu 2
107 catalog
108 .INDENT 2.0
109 .IP \(bu 2
110 EPUB OPTIONS
111 .UNINDENT
112 .IP \(bu 2
113 saved_searches
114 .IP \(bu 2
115 add_custom_column
116 .IP \(bu 2
117 custom_columns
118 .IP \(bu 2
119 remove_custom_column
120 .IP \(bu 2
121 set_custom
122 .IP \(bu 2
123 restore_database
124 .IP \(bu 2
125 check_library
126 .IP \(bu 2
127 list_categories
128 .IP \(bu 2
129 backup_metadata
130 .IP \(bu 2
131 clone
132 .IP \(bu 2
133 embed_metadata
134 .IP \(bu 2
135 search
136 .IP \(bu 2
137 fts_index
138 .IP \(bu 2
139 fts_search
140 .UNINDENT
141 .SH GLOBAL OPTIONS
142 .INDENT 0.0
143 .TP
144 .B \-\-help, \-h
145 show this help message and exit
146 .UNINDENT
147 .INDENT 0.0
148 .TP
149 .B \-\-library\-path, \-\-with\-library
150 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>\&.
151 .UNINDENT
152 .INDENT 0.0
153 .TP
154 .B \-\-password
155 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.
156 .UNINDENT
157 .INDENT 0.0
158 .TP
159 .B \-\-timeout
160 The timeout, in seconds, when connecting to a calibre library over the network. The default is two minutes.
161 .UNINDENT
162 .INDENT 0.0
163 .TP
164 .B \-\-username
165 Numele de utilizator pentru conectarea la un server de cărți Calibre
166 .UNINDENT
167 .INDENT 0.0
168 .TP
169 .B \-\-version
170 show program\fB\(aq\fPs version number and exit
171 .UNINDENT
172 .SH LIST
173 .INDENT 0.0
174 .INDENT 3.5
175 .sp
176 .EX
177 calibredb list [options]
178 .EE
179 .UNINDENT
180 .UNINDENT
181 .sp
182 Listează cărţile disponibile din baza de date calibre.
183 .sp
184 Whenever you pass arguments to calibredb that have spaces in them, enclose the arguments in quotation marks. For example: \(dq/some path/with spaces\(dq
185 .INDENT 0.0
186 .TP
187 .B \-\-ascending
188 Sortează rezultatele ascendent
189 .UNINDENT
190 .INDENT 0.0
191 .TP
192 .B \-\-fields, \-f
193 The fields to display when listing books in the database. Should be a comma separated list of fields. Available fields: author_sort, authors, comments, cover, formats, identifiers, isbn, languages, last_modified, pubdate, publisher, rating, series, series_index, size, tags, template, timestamp, title, uuid Default: title,authors. The special field \fB\(dq\fPall\fB\(dq\fP can be used to select all fields. In addition to the builtin fields above, custom fields are also available as *field_name, for example, for a custom field #rating, use the name: *rating
194 .UNINDENT
195 .INDENT 0.0
196 .TP
197 .B \-\-for\-machine
198 Generate output in JSON format, which is more suitable for machine parsing. Causes the line width and separator options to be ignored.
199 .UNINDENT
200 .INDENT 0.0
201 .TP
202 .B \-\-limit
203 The maximum number of results to display. Default: all
204 .UNINDENT
205 .INDENT 0.0
206 .TP
207 .B \-\-line\-width, \-w
208 Lăţimea maximă a unui rând la ieşire. În mod implicit se detectează automat mărimea ecranului.
209 .UNINDENT
210 .INDENT 0.0
211 .TP
212 .B \-\-prefix
213 Prefixul pentru toate căile. Calea absolută spre directorul bibliotecii este selectată în mod implicit.
214 .UNINDENT
215 .INDENT 0.0
216 .TP
217 .B \-\-search, \-s
218 Filtrează rezultatele după textul căutat. Pentru formatul căutării, verificaţi documentaţia aferentă căutărilor în Manualul de Utilizare. În mod implicit nu se fac filtrări.
219 .UNINDENT
220 .INDENT 0.0
221 .TP
222 .B \-\-separator
223 Şirul folosit pentru separarea câmpurilor. Caracterul implicit este spaţiul.
224 .UNINDENT
225 .INDENT 0.0
226 .TP
227 .B \-\-sort\-by
228 The field by which to sort the results. You can specify multiple fields by separating them with commas. Available fields: author_sort, authors, comments, cover, formats, identifiers, isbn, languages, last_modified, pubdate, publisher, rating, series, series_index, size, tags, template, timestamp, title, uuid Default: id. In addition to the builtin fields above, custom fields are also available as *field_name, for example, for a custom field #rating, use the name: *rating
229 .UNINDENT
230 .INDENT 0.0
231 .TP
232 .B \-\-template
233 The template to run if \fB\(dq\fPtemplate\fB\(dq\fP is in the field list. Note that templates are ignored while connecting to a calibre server. Default: None
234 .UNINDENT
235 .INDENT 0.0
236 .TP
237 .B \-\-template_file, \-t
238 Path to a file containing the template to run if \fB\(dq\fPtemplate\fB\(dq\fP is in the field list. Default: None
239 .UNINDENT
240 .INDENT 0.0
241 .TP
242 .B \-\-template_heading
243 Heading for the template column. Default: template. This option is ignored if the option \fB\-\-for\-machine\fP is set
244 .UNINDENT
245 .SH ADD
246 .INDENT 0.0
247 .INDENT 3.5
248 .sp
249 .EX
250 calibredb add [options] file1 file2 file3 ...
251 .EE
252 .UNINDENT
253 .UNINDENT
254 .sp
255 Add the specified files as books to the database. You can also specify folders, see
256 the folder related options below.
257 .sp
258 Whenever you pass arguments to calibredb that have spaces in them, enclose the arguments in quotation marks. For example: \(dq/some path/with spaces\(dq
259 .INDENT 0.0
260 .TP
261 .B \-\-authors, \-a
262 Set the authors of the added book(s)
263 .UNINDENT
264 .INDENT 0.0
265 .TP
266 .B \-\-automerge, \-m
267 If books with similar titles and authors are found, merge the incoming formats (files) automatically into existing book records. A value of \fB\(dq\fPignore\fB\(dq\fP means duplicate formats are discarded. A value of \fB\(dq\fPoverwrite\fB\(dq\fP means duplicate formats in the library are overwritten with the newly added files. A value of \fB\(dq\fPnew_record\fB\(dq\fP means duplicate formats are placed into a new book record.
268 .UNINDENT
269 .INDENT 0.0
270 .TP
271 .B \-\-cover, \-c
272 Path to the cover to use for the added book
273 .UNINDENT
274 .INDENT 0.0
275 .TP
276 .B \-\-duplicates, \-d
277 Add books to database even if they already exist. Comparison is done based on book titles and authors. Note that the \fB\-\-automerge\fP option takes precedence.
278 .UNINDENT
279 .INDENT 0.0
280 .TP
281 .B \-\-empty, \-e
282 Adaugă o carte goală (o carte fără formate)
283 .UNINDENT
284 .INDENT 0.0
285 .TP
286 .B \-\-identifier, \-I
287 Set the identifiers for this book, e.g. \-I asin:XXX \-I isbn:YYY
288 .UNINDENT
289 .INDENT 0.0
290 .TP
291 .B \-\-isbn, \-i
292 Set the ISBN of the added book(s)
293 .UNINDENT
294 .INDENT 0.0
295 .TP
296 .B \-\-languages, \-l
297 A comma separated list of languages (best to use ISO639 language codes, though some language names may also be recognized)
298 .UNINDENT
299 .INDENT 0.0
300 .TP
301 .B \-\-series, \-s
302 Set the series of the added book(s)
303 .UNINDENT
304 .INDENT 0.0
305 .TP
306 .B \-\-series\-index, \-S
307 Set the series number of the added book(s)
308 .UNINDENT
309 .INDENT 0.0
310 .TP
311 .B \-\-tags, \-T
312 Set the tags of the added book(s)
313 .UNINDENT
314 .INDENT 0.0
315 .TP
316 .B \-\-title, \-t
317 Set the title of the added book(s)
318 .UNINDENT
319 .SS ADDING FROM FOLDERS
320 .sp
321 Options to control the adding of books from folders. By default only files that have extensions of known e\-book file types are added.
322 .INDENT 0.0
323 .TP
324 .B \-\-add
325 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.
326 .UNINDENT
327 .INDENT 0.0
328 .TP
329 .B \-\-ignore
330 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
331 .UNINDENT
332 .INDENT 0.0
333 .TP
334 .B \-\-one\-book\-per\-directory, \-1
335 Assume that each folder has only a single logical book and that all files in it are different e\-book formats of that book
336 .UNINDENT
337 .INDENT 0.0
338 .TP
339 .B \-\-recurse, \-r
340 Process folders recursively
341 .UNINDENT
342 .SH REMOVE
343 .INDENT 0.0
344 .INDENT 3.5
345 .sp
346 .EX
347 calibredb remove ids
348 .EE
349 .UNINDENT
350 .UNINDENT
351 .sp
352 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).
353 .sp
354 Whenever you pass arguments to calibredb that have spaces in them, enclose the arguments in quotation marks. For example: \(dq/some path/with spaces\(dq
355 .INDENT 0.0
356 .TP
357 .B \-\-permanent
358 Do not use the Coș de gunoi
359 .UNINDENT
360 .SH ADD_FORMAT
361 .INDENT 0.0
362 .INDENT 3.5
363 .sp
364 .EX
365 calibredb add_format [options] id ebook_file
366 .EE
367 .UNINDENT
368 .UNINDENT
369 .sp
370 Add the e\-book in ebook_file to the available formats for the logical book identified by id. You can get id by using the search command. If the format already exists, it is replaced, unless the do not replace option is specified.
371 .sp
372 Whenever you pass arguments to calibredb that have spaces in them, enclose the arguments in quotation marks. For example: \(dq/some path/with spaces\(dq
373 .INDENT 0.0
374 .TP
375 .B \-\-as\-extra\-data\-file
376 Add the file as an extra data file to the book, not an ebook format
377 .UNINDENT
378 .INDENT 0.0
379 .TP
380 .B \-\-dont\-replace
381 Nu înlocui formatul dacă acesta există deja
382 .UNINDENT
383 .SH REMOVE_FORMAT
384 .INDENT 0.0
385 .INDENT 3.5
386 .sp
387 .EX
388 calibredb remove_format [options] id fmt
389 .EE
390 .UNINDENT
391 .UNINDENT
392 .sp
393 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.
394 .sp
395 Whenever you pass arguments to calibredb that have spaces in them, enclose the arguments in quotation marks. For example: \(dq/some path/with spaces\(dq
396 .SH SHOW_METADATA
397 .INDENT 0.0
398 .INDENT 3.5
399 .sp
400 .EX
401 calibredb show_metadata [options] id
402 .EE
403 .UNINDENT
404 .UNINDENT
405 .sp
406 Show the metadata stored in the calibre database for the book identified by id.
407 id is an id number from the search command.
408 .sp
409 Whenever you pass arguments to calibredb that have spaces in them, enclose the arguments in quotation marks. For example: \(dq/some path/with spaces\(dq
410 .INDENT 0.0
411 .TP
412 .B \-\-as\-opf
413 Tipăreşte metadatele în forma OPF (XML)
414 .UNINDENT
415 .SH SET_METADATA
416 .INDENT 0.0
417 .INDENT 3.5
418 .sp
419 .EX
420 calibredb set_metadata [options] book_id [/path/to/metadata.opf]
421 .EE
422 .UNINDENT
423 .UNINDENT
424 .sp
425 Set the metadata stored in the calibre database for the book identified by
426 book_id from the OPF file metadata.opf. book_id is a book id number from the
427 search command. You can get a quick feel for the OPF format by using the
428 \-\-as\-opf switch to the show_metadata command. You can also set the metadata of
429 individual fields with the \-\-field option. If you use the \-\-field option, there
430 is no need to specify an OPF file.
431 .sp
432 Whenever you pass arguments to calibredb that have spaces in them, enclose the arguments in quotation marks. For example: \(dq/some path/with spaces\(dq
433 .INDENT 0.0
434 .TP
435 .B \-\-field, \-f
436 The field to set. Format is field_name:value, for example: \fB\-\-field\fP tags:tag1,tag2. Use \fB\-\-list\-fields\fP to get a list of all field names. You can specify this option multiple times to set multiple fields. Note: For languages you must use the ISO639 language codes (e.g. en for English, fr for French and so on). For identifiers, the syntax is \fB\-\-field\fP identifiers:isbn:XXXX,doi:YYYYY. For boolean (yes/no) fields use true and false or yes and no.
437 .UNINDENT
438 .INDENT 0.0
439 .TP
440 .B \-\-list\-fields, \-l
441 List the metadata field names that can be used with the \fB\-\-field\fP option
442 .UNINDENT
443 .SH EXPORT
444 .INDENT 0.0
445 .INDENT 3.5
446 .sp
447 .EX
448 calibredb export [options] ids
449 .EE
450 .UNINDENT
451 .UNINDENT
452 .sp
453 Export the books specified by ids (a comma separated list) to the filesystem.
454 The \fBexport\fP operation saves all formats of the book, its cover and metadata (in
455 an OPF file). Any extra data files associated with the book are also saved.
456 You can get id numbers from the search command.
457 .sp
458 Whenever you pass arguments to calibredb that have spaces in them, enclose the arguments in quotation marks. For example: \(dq/some path/with spaces\(dq
459 .INDENT 0.0
460 .TP
461 .B \-\-all
462 Exportă toate cărţile din baza de date, ignorând lista cu IDuri.
463 .UNINDENT
464 .INDENT 0.0
465 .TP
466 .B \-\-dont\-asciiize
467 Have calibre convert all non English characters into English equivalents for the file names. This is useful if saving to a legacy filesystem without full support for Unicode filenames. Specificând comutatorul, acest comportament va fi oprit.
468 .UNINDENT
469 .INDENT 0.0
470 .TP
471 .B \-\-dont\-save\-cover
472 Normally, calibre will save the cover in a separate file along with the actual e\-book files. Specificând comutatorul, acest comportament va fi oprit.
473 .UNINDENT
474 .INDENT 0.0
475 .TP
476 .B \-\-dont\-save\-extra\-files
477 Save any data files associated with the book when saving the book Specificând comutatorul, acest comportament va fi oprit.
478 .UNINDENT
479 .INDENT 0.0
480 .TP
481 .B \-\-dont\-update\-metadata
482 În mod normal, calibre va actualiza metadatele în fişierele salvate din ceea ce este în bibliotecă. Face ca salvarea pe disc să fie mai lentă. Specificând comutatorul, acest comportament va fi oprit.
483 .UNINDENT
484 .INDENT 0.0
485 .TP
486 .B \-\-dont\-write\-opf
487 În mod normal, calibre va scrie metadatele într\-un fişier OPF separat, alături de fişierul e\-carte propriu\-zis. Specificând comutatorul, acest comportament va fi oprit.
488 .UNINDENT
489 .INDENT 0.0
490 .TP
491 .B \-\-formats
492 Listă de formate, separate prin virgule, de salvat pentru fiecare carte. În mod implicit toate formatele sunt salvate.
493 .UNINDENT
494 .INDENT 0.0
495 .TP
496 .B \-\-progress
497 Report progress
498 .UNINDENT
499 .INDENT 0.0
500 .TP
501 .B \-\-replace\-whitespace
502 Înlocuieşte spaţiile cu liniuţă\-jos (\fB\(dq\fP_\fB\(dq\fP).
503 .UNINDENT
504 .INDENT 0.0
505 .TP
506 .B \-\-single\-dir
507 Export all books into a single folder
508 .UNINDENT
509 .INDENT 0.0
510 .TP
511 .B \-\-template
512 The template to control the filename and folder structure of the saved files. Default is \fB\(dq\fP{author_sort}/{title}/{title} \- {authors}\fB\(dq\fP 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, pages, pubdate, publisher, rating, series, series_index, tags, timestamp, title}
513 .UNINDENT
514 .INDENT 0.0
515 .TP
516 .B \-\-timefmt
517 Formatul în care data va fi afişată. %d \- ziua, %b \- luna, %m \- numărul lunii, %Y \- anul. Valoare implicită este: %b, %Y
518 .UNINDENT
519 .INDENT 0.0
520 .TP
521 .B \-\-to\-dir
522 Export books to the specified folder. Default is .
523 .UNINDENT
524 .INDENT 0.0
525 .TP
526 .B \-\-to\-lowercase
527 Converteşte căile în caractere scrise cu litere mici.
528 .UNINDENT
529 .SH CATALOG
530 .INDENT 0.0
531 .INDENT 3.5
532 .sp
533 .EX
534 calibredb catalog /path/to/destination.(csv|epub|mobi|xml...) [options]
535 .EE
536 .UNINDENT
537 .UNINDENT
538 .sp
539 Export a \fBcatalog\fP in format specified by path/to/destination extension.
540 Options control how entries are displayed in the generated \fBcatalog\fP output.
541 Note that different \fBcatalog\fP formats support different sets of options. To
542 see the different options, specify the name of the output file and then the
543 \-\-help option.
544 .sp
545 Whenever you pass arguments to calibredb that have spaces in them, enclose the arguments in quotation marks. For example: \(dq/some path/with spaces\(dq
546 .INDENT 0.0
547 .TP
548 .B \-\-ids, \-i
549 Listă cu IDuri din baza de date, separate prin virgule, de catalogat. Dacă este declarată, \fB\-\-search\fP este ignorată. Implicit: toate
550 .UNINDENT
551 .INDENT 0.0
552 .TP
553 .B \-\-search, \-s
554 Filtrează rezultatele după interogarea de căutare. Pentru formatul interogării, verificaţi documentaţia referitoare la căutări din Manualul de Utilizare. Implicit: fără filtrare
555 .UNINDENT
556 .INDENT 0.0
557 .TP
558 .B \-\-verbose, \-v
559 Afişează informaţia detaliată la ieşire. Folositor pentru depanare
560 .UNINDENT
561 .SS EPUB OPTIONS
562 .INDENT 0.0
563 .TP
564 .B \-\-catalog\-title
565 Title of generated catalog used as title in metadata. Default: \fB\(aq\fPMy Books\fB\(aq\fP Applies to: AZW3, EPUB, MOBI output formats
566 .UNINDENT
567 .INDENT 0.0
568 .TP
569 .B \-\-cross\-reference\-authors
570 Create cross\-references in Authors section for books with multiple authors. Default: \fB\(aq\fPFalse\fB\(aq\fP Applies to: AZW3, EPUB, MOBI output formats
571 .UNINDENT
572 .INDENT 0.0
573 .TP
574 .B \-\-debug\-pipeline
575 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: \fB\(aq\fPNone\fB\(aq\fP Applies to: AZW3, EPUB, MOBI output formats
576 .UNINDENT
577 .INDENT 0.0
578 .TP
579 .B \-\-exclude\-genre
580 Regex describing tags to exclude as genres. Default: \fB\(aq\fP[.+]|^+$\fB\(aq\fP excludes bracketed tags, e.g. \fB\(aq\fP[Project Gutenberg]\fB\(aq\fP, and \fB\(aq\fP+\fB\(aq\fP, the default tag for read books. Applies to: AZW3, EPUB, MOBI output formats
581 .UNINDENT
582 .INDENT 0.0
583 .TP
584 .B \-\-exclusion\-rules
585 Specifies the rules used to exclude books from the generated catalog. The model for an exclusion rule is either (\fB\(aq\fP<rule name>\fB\(aq\fP,\fB\(aq\fPTags\fB\(aq\fP,\fB\(aq\fP<comma\-separated list of tags>\fB\(aq\fP) or (\fB\(aq\fP<rule name>\fB\(aq\fP,\fB\(aq\fP<custom column>\fB\(aq\fP,\fB\(aq\fP<pattern>\fB\(aq\fP). For example: ((\fB\(aq\fPArchived books\fB\(aq\fP,\fB\(aq\fP#status\fB\(aq\fP,\fB\(aq\fPArchived\fB\(aq\fP),) will exclude a book with a value of \fB\(aq\fPArchived\fB\(aq\fP in the custom column \fB\(aq\fPstatus\fB\(aq\fP\&. When multiple rules are defined, all rules will be applied. Default: \fB\(dq\fP((\fB\(aq\fPCatalogs\fB\(aq\fP,\fB\(aq\fPTags\fB\(aq\fP,\fB\(aq\fPCatalog\fB\(aq\fP),)\fB\(dq\fP Applies to: AZW3, EPUB, MOBI output formats
586 .UNINDENT
587 .INDENT 0.0
588 .TP
589 .B \-\-generate\-authors
590 Include \fB\(aq\fPAuthors\fB\(aq\fP section in catalog. Default: \fB\(aq\fPFalse\fB\(aq\fP Applies to: AZW3, EPUB, MOBI output formats
591 .UNINDENT
592 .INDENT 0.0
593 .TP
594 .B \-\-generate\-descriptions
595 Include \fB\(aq\fPDescriptions\fB\(aq\fP section in catalog. Default: \fB\(aq\fPFalse\fB\(aq\fP Applies to: AZW3, EPUB, MOBI output formats
596 .UNINDENT
597 .INDENT 0.0
598 .TP
599 .B \-\-generate\-genres
600 Include \fB\(aq\fPGenres\fB\(aq\fP section in catalog. Default: \fB\(aq\fPFalse\fB\(aq\fP Applies to: AZW3, EPUB, MOBI output formats
601 .UNINDENT
602 .INDENT 0.0
603 .TP
604 .B \-\-generate\-recently\-added
605 Include \fB\(aq\fPRecently Added\fB\(aq\fP section in catalog. Default: \fB\(aq\fPFalse\fB\(aq\fP Applies to: AZW3, EPUB, MOBI output formats
606 .UNINDENT
607 .INDENT 0.0
608 .TP
609 .B \-\-generate\-series
610 Include \fB\(aq\fPSeries\fB\(aq\fP section in catalog. Default: \fB\(aq\fPFalse\fB\(aq\fP Applies to: AZW3, EPUB, MOBI output formats
611 .UNINDENT
612 .INDENT 0.0
613 .TP
614 .B \-\-generate\-titles
615 Include \fB\(aq\fPTitles\fB\(aq\fP section in catalog. Default: \fB\(aq\fPFalse\fB\(aq\fP Applies to: AZW3, EPUB, MOBI output formats
616 .UNINDENT
617 .INDENT 0.0
618 .TP
619 .B \-\-genre\-source\-field
620 Source field for \fB\(aq\fPGenres\fB\(aq\fP section. Default: \fB\(aq\fPEtichete\fB\(aq\fP Applies to: AZW3, EPUB, MOBI output formats
621 .UNINDENT
622 .INDENT 0.0
623 .TP
624 .B \-\-header\-note\-source\-field
625 Custom field containing note text to insert in Description header. Default: \fB\(aq\fP\fB\(aq\fP Applies to: AZW3, EPUB, MOBI output formats
626 .UNINDENT
627 .INDENT 0.0
628 .TP
629 .B \-\-merge\-comments\-rule
630 #<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: \fB\(aq\fP::\fB\(aq\fP Applies to: AZW3, EPUB, MOBI output formats
631 .UNINDENT
632 .INDENT 0.0
633 .TP
634 .B \-\-output\-profile
635 Specifies the output profile. In some cases, an output profile is required to optimize the catalog for the device. For example, \fB\(aq\fPkindle\fB\(aq\fP or \fB\(aq\fPkindle_dx\fB\(aq\fP creates a structured Table of Contents with Sections and Articles. Default: \fB\(aq\fPNone\fB\(aq\fP Applies to: AZW3, EPUB, MOBI output formats
636 .UNINDENT
637 .INDENT 0.0
638 .TP
639 .B \-\-prefix\-rules
640 Specifies the rules used to include prefixes indicating read books, wishlist items and other user\-specified prefixes. The model for a prefix rule is (\fB\(aq\fP<rule name>\fB\(aq\fP,\fB\(aq\fP<source field>\fB\(aq\fP,\fB\(aq\fP<pattern>\fB\(aq\fP,\fB\(aq\fP<prefix>\fB\(aq\fP). When multiple rules are defined, the first matching rule will be used. Default: \fB\(dq\fP((\fB\(aq\fPRead books\fB\(aq\fP,\fB\(aq\fPtags\fB\(aq\fP,\fB\(aq\fP+\fB\(aq\fP,\fB\(aq\fP✓\fB\(aq\fP),(\fB\(aq\fPWishlist item\fB\(aq\fP,\fB\(aq\fPtags\fB\(aq\fP,\fB\(aq\fPWishlist\fB\(aq\fP,\fB\(aq\fP×\fB\(aq\fP))\fB\(dq\fP Applies to: AZW3, EPUB, MOBI output formats
641 .UNINDENT
642 .INDENT 0.0
643 .TP
644 .B \-\-preset
645 Folosește un profil cu nume realizat cu instrumentul de creare a catalogului. Un profil specifică toate preferințele pentru crearea unui catalog. Prestabilit: „None” Se aplică la: Formatele de ieșire AZW3, EPUB, MOBI
646 .UNINDENT
647 .INDENT 0.0
648 .TP
649 .B \-\-thumb\-width
650 Size hint (in inches) for book covers in catalog. Range: 1.0 \- 2.0 Default: \fB\(aq\fP1.0\fB\(aq\fP Applies to: AZW3, EPUB, MOBI output formats
651 .UNINDENT
652 .INDENT 0.0
653 .TP
654 .B \-\-use\-existing\-cover
655 Replace existing cover when generating the catalog. Default: \fB\(aq\fPFalse\fB\(aq\fP Applies to: AZW3, EPUB, MOBI output formats
656 .UNINDENT
657 .SH SAVED_SEARCHES
658 .INDENT 0.0
659 .INDENT 3.5
660 .sp
661 .EX
662 calibredb saved_searches [options] (list|add|remove)
663 .EE
664 .UNINDENT
665 .UNINDENT
666 .sp
667 Manage the saved searches stored in this database.
668 If you try to add a query with a name that already exists, it will be
669 replaced.
670 .sp
671 Syntax for adding:
672 .sp
673 calibredb \fBsaved_searches\fP add search_name search_expression
674 .sp
675 Syntax for removing:
676 .sp
677 calibredb \fBsaved_searches\fP remove search_name
678 .sp
679 Whenever you pass arguments to calibredb that have spaces in them, enclose the arguments in quotation marks. For example: \(dq/some path/with spaces\(dq
680 .SH ADD_CUSTOM_COLUMN
681 .INDENT 0.0
682 .INDENT 3.5
683 .sp
684 .EX
685 calibredb add_custom_column [options] label name datatype
686 .EE
687 .UNINDENT
688 .UNINDENT
689 .sp
690 Creeată o coloană personalizată. \(dqlabel\(dq este numele maşină pentru coloană.
691 Nu trebuie să conţină spaţii sau două puncte. \(dqname\(dq este numele folosit
692 de utilizator pentru coloană. \(dqdatatype\(dq este unul dintre: bool, comments, composite, datetime, enumeration, float, int, rating, series, text
693 .sp
694 Whenever you pass arguments to calibredb that have spaces in them, enclose the arguments in quotation marks. For example: \(dq/some path/with spaces\(dq
695 .INDENT 0.0
696 .TP
697 .B \-\-display
698 A dictionary of options to customize how the data in this column will be interpreted. This is a JSON string. For enumeration columns, use \fB\-\-display\fP\fB\(dq\fP{\e \fB\(dq\fPenum_values\e \fB\(dq\fP:[\e \fB\(dq\fPval1\e \fB\(dq\fP, \e \fB\(dq\fPval2\e \fB\(dq\fP]}\fB\(dq\fP There are many options that can go into the display variable.The options by column type are: composite: composite_template, composite_sort, make_category,contains_html, use_decorations datetime: date_format enumeration: enum_values, enum_colors, use_decorations int, float: number_format text: is_names, use_decorations The best way to find legal combinations is to create a custom column of the appropriate type in the GUI then look at the backup OPF for a book (ensure that a new OPF has been created since the column was added). You will see the JSON for the \fB\(dq\fPdisplay\fB\(dq\fP for the new column in the OPF.
699 .UNINDENT
700 .INDENT 0.0
701 .TP
702 .B \-\-is\-multiple
703 Această coloană stochează date de tip etichetă (ex.: valori multiple separate prin virgule). Se aplică doar dacă tipul de date este text.
704 .UNINDENT
705 .SH CUSTOM_COLUMNS
706 .INDENT 0.0
707 .INDENT 3.5
708 .sp
709 .EX
710 calibredb custom_columns [options]
711 .EE
712 .UNINDENT
713 .UNINDENT
714 .sp
715 List available custom columns. Shows column labels and ids.
716 .sp
717 Whenever you pass arguments to calibredb that have spaces in them, enclose the arguments in quotation marks. For example: \(dq/some path/with spaces\(dq
718 .INDENT 0.0
719 .TP
720 .B \-\-details, \-d
721 Afişează detalii pentru fiecare coloană.
722 .UNINDENT
723 .SH REMOVE_CUSTOM_COLUMN
724 .INDENT 0.0
725 .INDENT 3.5
726 .sp
727 .EX
728 calibredb remove_custom_column [options] label
729 .EE
730 .UNINDENT
731 .UNINDENT
732 .sp
733 Remove the custom column identified by label. You can see available
734 columns with the custom_columns command.
735 .sp
736 Whenever you pass arguments to calibredb that have spaces in them, enclose the arguments in quotation marks. For example: \(dq/some path/with spaces\(dq
737 .INDENT 0.0
738 .TP
739 .B \-\-force, \-f
740 Nu cere confirmare
741 .UNINDENT
742 .SH SET_CUSTOM
743 .INDENT 0.0
744 .INDENT 3.5
745 .sp
746 .EX
747 calibredb set_custom [options] column id value
748 .EE
749 .UNINDENT
750 .UNINDENT
751 .sp
752 Set the value of a custom column for the book identified by id.
753 You can get a list of ids using the search command.
754 You can get a list of custom column names using the custom_columns
755 command.
756 .sp
757 Whenever you pass arguments to calibredb that have spaces in them, enclose the arguments in quotation marks. For example: \(dq/some path/with spaces\(dq
758 .INDENT 0.0
759 .TP
760 .B \-\-append, \-a
761 În cazul în care coloana stochează valori multiple, adaugă valoarea specificată la cele existente, în loc să le înlocuiască.
762 .UNINDENT
763 .SH RESTORE_DATABASE
764 .INDENT 0.0
765 .INDENT 3.5
766 .sp
767 .EX
768 calibredb restore_database [options]
769 .EE
770 .UNINDENT
771 .UNINDENT
772 .sp
773 Restore this database from the metadata stored in OPF files in each
774 folder of the calibre library. This is useful if your metadata.db file
775 has been corrupted.
776 .sp
777 WARNING: This command completely regenerates your database. You will lose
778 all saved searches, user categories, plugboards, stored per\-book conversion
779 settings, and custom recipes. Restored metadata will only be as accurate as
780 what is found in the OPF files.
781 .sp
782 Whenever you pass arguments to calibredb that have spaces in them, enclose the arguments in quotation marks. For example: \(dq/some path/with spaces\(dq
783 .INDENT 0.0
784 .TP
785 .B \-\-really\-do\-it, \-r
786 Efectuează restaurarea. Comanda nu va rula, numai dacă această opţiune este specificată.
787 .UNINDENT
788 .SH CHECK_LIBRARY
789 .INDENT 0.0
790 .INDENT 3.5
791 .sp
792 .EX
793 calibredb check_library [options]
794 .EE
795 .UNINDENT
796 .UNINDENT
797 .sp
798 Efectuează nişte verificări asupra sistemului de fişiere al bibliotecii. Raporturile sunt invalid_titles, extra_titles, invalid_authors, extra_authors, missing_formats, extra_formats, extra_files, missing_covers, extra_covers, malformed_formats, malformed_paths, failed_folders
799 .sp
800 Whenever you pass arguments to calibredb that have spaces in them, enclose the arguments in quotation marks. For example: \(dq/some path/with spaces\(dq
801 .INDENT 0.0
802 .TP
803 .B \-\-csv, \-c
804 Ieşire în CSV
805 .UNINDENT
806 .INDENT 0.0
807 .TP
808 .B \-\-ignore_extensions, \-e
809 Listă de extensii de ignorat, separate prin virgule. Implicit: toate
810 .UNINDENT
811 .INDENT 0.0
812 .TP
813 .B \-\-ignore_names, \-n
814 Listă de nume de ignorat, separate prin virgule. Implicit: toate
815 .UNINDENT
816 .INDENT 0.0
817 .TP
818 .B \-\-report, \-r
819 Listă de raporturi, separate prin virgule. Implicit: toate
820 .UNINDENT
821 .INDENT 0.0
822 .TP
823 .B \-\-vacuum\-fts\-db
824 Vacuum the full text search database. This can be very slow and memory intensive, depending on the size of the database.
825 .UNINDENT
826 .SH LIST_CATEGORIES
827 .INDENT 0.0
828 .INDENT 3.5
829 .sp
830 .EX
831 calibredb list_categories [opțiuni]
832 .EE
833 .UNINDENT
834 .UNINDENT
835 .sp
836 Produce un raport al informațiilor despre categoriile din baza de date.
837 Informațiile sunt echivalente cu cele afișate de căutătorul de etichete.
838 .sp
839 Whenever you pass arguments to calibredb that have spaces in them, enclose the arguments in quotation marks. For example: \(dq/some path/with spaces\(dq
840 .INDENT 0.0
841 .TP
842 .B \-\-categories, \-r
843 Comma\-separated list of category lookup names. Default: all
844 .UNINDENT
845 .INDENT 0.0
846 .TP
847 .B \-\-csv, \-c
848 Ieşire în CSV
849 .UNINDENT
850 .INDENT 0.0
851 .TP
852 .B \-\-dialect
853 The type of CSV file to produce. Choices: excel, excel\-tab, unix
854 .UNINDENT
855 .INDENT 0.0
856 .TP
857 .B \-\-item_count, \-i
858 Arată numai numărul total de elemente dintr\-o categorie în loc de câte elemente de fiecare fel sunt în categorie
859 .UNINDENT
860 .INDENT 0.0
861 .TP
862 .B \-\-width, \-w
863 Lăţimea maximă a unui rând la ieşire. În mod implicit se detectează automat mărimea ecranului.
864 .UNINDENT
865 .SH BACKUP_METADATA
866 .INDENT 0.0
867 .INDENT 3.5
868 .sp
869 .EX
870 calibredb backup_metadata [options]
871 .EE
872 .UNINDENT
873 .UNINDENT
874 .sp
875 Backup the metadata stored in the database into individual OPF files in each
876 books folder. This normally happens automatically, but you can run this
877 command to force re\-generation of the OPF files, with the \-\-all option.
878 .sp
879 Note that there is normally no need to do this, as the OPF files are backed up
880 automatically, every time metadata is changed.
881 .sp
882 Whenever you pass arguments to calibredb that have spaces in them, enclose the arguments in quotation marks. For example: \(dq/some path/with spaces\(dq
883 .INDENT 0.0
884 .TP
885 .B \-\-all
886 Normally, this command only operates on books that have out of date OPF files. This option makes it operate on all books.
887 .UNINDENT
888 .SH CLONE
889 .INDENT 0.0
890 .INDENT 3.5
891 .sp
892 .EX
893 calibredb clone path/to/new/library
894 .EE
895 .UNINDENT
896 .UNINDENT
897 .sp
898 Create a \fBclone\fP of the current library. This creates a new, empty library that has all the
899 same custom columns, Virtual libraries and other settings as the current library.
900 .sp
901 The cloned library will contain no books. If you want to create a full duplicate, including
902 all books, then simply use your filesystem tools to copy the library folder.
903 .sp
904 Whenever you pass arguments to calibredb that have spaces in them, enclose the arguments in quotation marks. For example: \(dq/some path/with spaces\(dq
905 .SH EMBED_METADATA
906 .INDENT 0.0
907 .INDENT 3.5
908 .sp
909 .EX
910 calibredb embed_metadata [options] book_id
911 .EE
912 .UNINDENT
913 .UNINDENT
914 .sp
915 Update the metadata in the actual book files stored in the calibre library from
916 the metadata in the calibre database. Normally, metadata is updated only when
917 exporting files from calibre, this command is useful if you want the files to
918 be updated in place. Note that different file formats support different amounts
919 of metadata. You can use the special value \(aqall\(aq for book_id to update metadata
920 in all books. You can also specify many book ids separated by spaces and id ranges
921 separated by hyphens. For example: calibredb \fBembed_metadata\fP 1 2 10\-15 23
922 .sp
923 Whenever you pass arguments to calibredb that have spaces in them, enclose the arguments in quotation marks. For example: \(dq/some path/with spaces\(dq
924 .INDENT 0.0
925 .TP
926 .B \-\-only\-formats, \-f
927 Only update metadata in files of the specified format. Specify it multiple times for multiple formats. By default, all formats are updated.
928 .UNINDENT
929 .SH SEARCH
930 .INDENT 0.0
931 .INDENT 3.5
932 .sp
933 .EX
934 calibredb search [options] search expression
935 .EE
936 .UNINDENT
937 .UNINDENT
938 .sp
939 Search the library for the specified \fBsearch\fP term, returning a comma separated
940 list of book ids matching the \fBsearch\fP expression. The output format is useful
941 to feed into other commands that accept a list of ids as input.
942 .sp
943 The \fBsearch\fP expression can be anything from calibre\(aqs powerful \fBsearch\fP query
944 language, for example: calibredb \fBsearch\fP author:asimov \(aqtitle:\(dqi robot\(dq\(aq
945 .sp
946 Whenever you pass arguments to calibredb that have spaces in them, enclose the arguments in quotation marks. For example: \(dq/some path/with spaces\(dq
947 .INDENT 0.0
948 .TP
949 .B \-\-limit, \-l
950 The maximum number of results to return. Default is all results.
951 .UNINDENT
952 .SH FTS_INDEX
953 .INDENT 0.0
954 .INDENT 3.5
955 .sp
956 .EX
957 calibredb fts_index [options] enable/disable/status/reindex
958 .EE
959 .UNINDENT
960 .UNINDENT
961 .sp
962 Control the Full text search indexing process.
963 .INDENT 0.0
964 .TP
965 .B enable
966 Turns on FTS indexing for this library
967 .TP
968 .B disable
969 Turns off FTS indexing for this library
970 .TP
971 .B status
972 Shows the current indexing status
973 .TP
974 .B reindex
975 Can be used to re\-index either particular books or
976 the entire library. To re\-index particular books
977 specify the book ids as additional arguments after the
978 reindex command. If no book ids are specified the
979 entire library is re\-indexed.
980 .UNINDENT
981 .sp
982 Whenever you pass arguments to calibredb that have spaces in them, enclose the arguments in quotation marks. For example: \(dq/some path/with spaces\(dq
983 .INDENT 0.0
984 .TP
985 .B \-\-indexing\-speed
986 The speed of indexing. Use fast for fast indexing using all your computers resources and slow for less resource intensive indexing. Note that the speed is reset to slow after every invocation.
987 .UNINDENT
988 .INDENT 0.0
989 .TP
990 .B \-\-wait\-for\-completion
991 Wait till all books are indexed, showing indexing progress periodically
992 .UNINDENT
993 .SH FTS_SEARCH
994 .INDENT 0.0
995 .INDENT 3.5
996 .sp
997 .EX
998 calibredb fts_search [options] search expression
999 .EE
1000 .UNINDENT
1001 .UNINDENT
1002 .sp
1003 Do a full text search on the entire library or a subset of it.
1004 .sp
1005 Whenever you pass arguments to calibredb that have spaces in them, enclose the arguments in quotation marks. For example: \(dq/some path/with spaces\(dq
1006 .INDENT 0.0
1007 .TP
1008 .B \-\-do\-not\-match\-on\-related\-words
1009 Only match on exact words not related words. So correction will not match correcting.
1010 .UNINDENT
1011 .INDENT 0.0
1012 .TP
1013 .B \-\-include\-snippets
1014 Include snippets of the text surrounding each match. Note that this makes searching much slower.
1015 .UNINDENT
1016 .INDENT 0.0
1017 .TP
1018 .B \-\-indexing\-threshold
1019 How much of the library must be indexed before searching is allowed, as a percentage. Defaults to 90
1020 .UNINDENT
1021 .INDENT 0.0
1022 .TP
1023 .B \-\-match\-end\-marker
1024 The marker used to indicate the end of a matched word inside a snippet
1025 .UNINDENT
1026 .INDENT 0.0
1027 .TP
1028 .B \-\-match\-start\-marker
1029 The marker used to indicate the start of a matched word inside a snippet
1030 .UNINDENT
1031 .INDENT 0.0
1032 .TP
1033 .B \-\-output\-format
1034 The format to output the search results in. Either \fB\(dq\fPtext\fB\(dq\fP for plain text or \fB\(dq\fPjson\fB\(dq\fP for JSON output.
1035 .UNINDENT
1036 .INDENT 0.0
1037 .TP
1038 .B \-\-restrict\-to
1039 Restrict the searched books, either using a search expression or ids. For example: ids:1,2,3 to restrict by ids or search:tag:foo to restrict to books having the tag foo.
1040 .UNINDENT
1041 .SH Author
1042 Kovid Goyal
1043 .SH Copyright
1044 Kovid Goyal
1045 .\" End of generated man page.