Convert All File Extensions - converts a file to all supported formats using pandoc and Calibre
cafe [file]
The cafe script takes a file as input and converts it to all other supported formats using pandoc and Calibre. The supported formats for conversion are markdown, html, latex, odt, epub, docx (using pandoc), and pdf, mobi, azw3 (using Calibre).
The script assumes that pandoc and Calibre are installed and available in the PATH. If they are installed in a different location, you need to specify the correct path to the executable.
The input file to be converted.
cafe file.txt
Convert the file.txt to all supported formats.
- pandoc(1)
- ebook-convert(1)