Home Fab Academy Notes Unsorted References (Powered by StrapDown.js) <!-- Markdown text entered here --> ## Calibre [Calibre](https://calibre-ebook.com/) is a cross-platform e-book management system. It allows you to create libraries to hold your e-books and manage them. ### Regex You first create a Library to manage your e-books and then you insert the e-books into the Library. This is done by selecting the e-book files and dropping them into calibre. Calibre will either extract the meta-data from the filename or search the file for the meta-data. The e-book is imported and place in a folder in the library sorted by the author and title. This section shows the different regex that you can use to add books to the library. The first line is the actual filename, and the second is the regex. ``` # only title extracted Transfer of Power - Vince Flynn.mobi (?P<title>.+) # title and author Transfer of Power - Vince Flynn.mobi (?P<title>.+) - (?P<author>[^_]+) Vince Flynn - [Mitch Rapp 01] - Transfer of Power.mobi (?P<author>[^-]+) - \[(?P<series>[^0-9]+) (?P<series_index>\d\d)\] - (?P<title>.+) ``` ### Update Calibre The following code updates calibre, this is taken from the calibre site. Copy and paste into a terminal window to execute (requires Python). ``` (Ooops! will add when there is an update.) ``` <!-- End of markdown text -->