Ebread
;
NAME
ebread - EPUB dumper
SYNOPSIS
ebread [options] epub
DESCRIPTION
ebread is a simple script/program that extracts and dumps the XHTML contents of a given EPUB ebook archive. It accomplishes this by taking advantage of the dump feature found in many text-mode web browsers. The output should be suitable for piping into other programs for further processing.
OPTIONS
-D|--dumper=dumper
Specify the dumper to use for text formatting. The following are valid options, as long as the respective browser is installed on your system:
elinkslinkslynxw3m-w|--width=width
Specify the output width. Must be at least 10, at most 512. Defaults to 80.
-m|--metadata
Instead of dumping the text contents of an EPUB, dump its metadata.
-o|--out=file
Write dumped text to file instead of stdout.
-x|--extract=dir
Instead of dumping the text contents of an EPUB, extract the EPUB's archive contents to dir.
-h|--help
Print usage message and exit.
-m|--man
Print manual and exit.
-v|--version
Print version/copyright information and exit.
If this option is not specified, ebread will just use dumper specified by
the EBREAD_DUMPER environment variable if defined, or the first dumper it
finds on your system.
ENVIRONMENT
EBREAD_DUMPERName of the default dumper to use. See the
-Doption documentation for a list of valid dumper names.
AUTHOR
Written by Samuel Young, [email protected].
COPYRIGHT
Copyright 2024-2025, Samuel Young
This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0.
SEE ALSO
elinks(1), links(1), lynx(1), w3m(1), unzip(1)