Batch convert ebooks qustion

Linux for blind general discussion blinux-list at redhat.com
Wed May 12 13:10:25 UTC 2021


Tim here.

> Can I use ebook-convert, I can't do ebook-convert *.epub *.txt

If they're all in the same directory you can use

$ for f in *.epub ; do ebook-convert "$f" "${f%.epub}.txt" ; done

which will iterate over all the *.epub files and convert each
individually, changing the output-name to the .txt extension.


-Tim




More information about the Blinux-list mailing list