Saturday, May 4, 2024
54
rated 0 times [  54] [ 0]  / answers: 1 / hits: 33129  / 2 Years ago, sun, october 9, 2022, 9:41:57

I'm able to view an epub file in, say, okular, select all the text and copy-paste into a text editor. I'd like a command line method - anyone know of such a thing?


More From » format-conversion

 Answers
5

I don't know if Calibre is worth installing for your job, but if you have it you could use the powerful ebook converter:



ebook-convert input.epub output.txt



Output format is deducted from output file extension



I imagine there could be some XML tools/scripts (XSLT) that can transform epub in text as epub is basically XHTML in ZIP archive


[#40498] Monday, October 10, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
moloy

Total Points: 457
Total Questions: 93
Total Answers: 119

Location: Romania
Member since Wed, Dec 29, 2021
2 Years ago
;