Fb2rip

for f in *.fb2; do fb2rip "$f" -o "$f%.fb2.txt"; done | Option | Description | |--------|-------------| | -o FILE | Output file (default: stdout) | | -f FORMAT | txt , epub , html (default: txt) | | -s | Strip XML tags, keep only text | | --no-notes | Remove footnotes | | --no-images | Skip images | | --split CHAPTER | Split output by chapter into separate files | | --encoding ENC | Force output encoding (e.g., utf-8 , cp1251 ) |

fb2rip book.fb2 > book.txt Convert to EPUB: fb2rip

fb2rip --encoding utf-8 book.fb2 > out.txt Missing images in EPUB Fix: Use --images flag (if your version supports it). Otherwise, convert to HTML and embed manually. for f in *

Select at least 2 products
to compare