This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Update index: | |
# epub-fts5.sh | |
# FTS5 query (avoid single quotes, there's no escaping): https://www.sqlite.org/fts5.html#full_text_query_syntax | |
# epub-fts5.sh foo OR bar NOT baz | |
# epub-fts5.sh '"foo bar"' | |
# epub-fts5.sh 'NEAR(foo bar)' | |
EPUB_PATH=$HOME/path/to/your/epub/library |