by philsnow · 1y ago · 0 comments
wget --no-host-directories \
--cut-dirs=1 \
--recursive \
--no-parent \
--accept '*.pdf' \
https://donhopkins.com/home/TheSimsDesignDocuments/
drops all the pdfs into ./TheSimsDesignDocuments $ sudo apt install poppler-utils pandoc
$ for pdf in *.pdf; do pdftohtml -c -noframes "$pdf" "${pdf%.pdf}.html"; done
$ for html in *.html; do pandoc "$html" -o "${html%.html}.epub"; done
For your convenience :