

It interprets the value as a comma-separated list of tag-like items, where each item is a period-separated list. Subitems(start_index, end_index) – This function breaks apart lists of tag-like hierarchical items such as genres. If none of the strings match then not_found_value is returned. The string and found_value pairs can be repeated as many times as desired, permitting returning different values depending on string’s value. If string contains separators then it is also treated as a list and each subvalue is checked. If string is equal to any item (ignoring case) then return the corresponding found_val. Str_in_list(separator, + not_found_val) – interpret the value as a list of items separated by separator then compare string against each value in the list. For example, the title The Dome would not be changed. If the value’s length is less than left chars + right chars + the length of middle text then the value will be returned unchanged. For a book with the title Ancient English Laws in the Times of Ivanhoe the result will be Ancient E-anhoe: the first 9 characters of the title, a -, then the last 5 characters. A template expression consists of text and names in curly brackets (. Basic templates ¶Ī basic template consists one or more template expressions. The language is built around the notion of a template, which specifies which book metadata to use, computations on that metadata, and how it is to be formatted. Specify the folder structure and file names when saving files from the calibre library to the disk or e-book reader.ĭefine rules for adding icons and colors to the calibre book list.ĭefine virtual columns that contain data from other columns. If this file gets corrupted, you may see an empty list of books in calibre.The calibre template language is a calibre-specific language used throughout calibre for tasks such as specifying file paths, formatting values, and computing the value for user-specified columns.

All the metadata is stored in a single file called metadata.db, in the top level folder. It will warn you about any problems in your library, which you should fix by hand.Ī calibre library is just a folder which contains all the book files and their metadata.
COPY CALIBRE LIBRARY TO A NEW LOCATION WINDOWS
Note that if you are transferring between different types of computers (for example Windows to OS X) then after doing the above you should also right-click the calibre icon on the tool bar, select Library Maintenance and run the Check Library action. Transferring your library in this manner preserver all your metadata, tags, custom columns, etc. You will now have two calibre libraries on your computer and you can switch between them by clicking the calibre icon on the toolbar. In that case, right-click the calibre icon in the tooolbar and point it to the newly copied directory. If the computer you are transferring to already has a calibre installation, then the Welcome wizard wont run. Point it to the previously copied folder. It will run the Welcome Wizard asking you for the location of the calibre library. Now on the new computer, start calibre for the first time. The very first item is the path to the library folder. First, click on your librarys name and select Switch/create library On the next screen select the new path for your library and click the option to Move. CMD/CTRL + P -> Toolbar -> The main toolbar when device is. If you don’t see it, you may need to modify your tool bar. Once you plugin the device, you should see a Send to Device icon on the menu bar. You can find out what the library folder is by clicking the calibre icon in the toolbar. Calibre recognizes almost every mainstream device from the Kobo, Sony, nook, Kindle, Cybook, and the iOS devices. Simply copy the calibre library folder from the old to the new computer. How do I move my calibre library from one computer to another?
