txlib

Text based epub library manager.

The program recursively scans the provided directory for epub files and creates a table with the following fields (read from the epub metadata): + Date (timestamp of date when book was added, YYMMDD format) + Read + Title + Author + Pages (page count based on 2000 chars per page) + Series (blank by default) + Path

The table with the library data is: 1. printed to stdout (for piping to other programs) 2. stored in the provided plain text file at, that can be manually edited with your preferred text editor. Existing book information has to be edited this way.

A plain text library allows for easy extensibility and integration into any workflow. Some ideas are provided in the Tips section.

Everytime the program runs, removed epub files are deleted from the generated table and new epub files are added.

Usage

$ txlib [OPTIONS] --lib-db <LIB_DB> <EPUB_DIR>

Arguments:

<EPUB_DIR> Root directory containing epub files

Options:

-l, --lib-db <LIB_DB> File path to read/store epub library data -s, --sort <SORT> Sort by: date, title, author, read, pages or series [default: date] -r, --reverse Reverse sorting order -n, --no-save Print output without saving to DB -h, --help Print help -V, --version Print version

Tips