Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Another way is plain old wget

  wget --no-host-directories \
       --cut-dirs=1 \
       --recursive \
       --no-parent \
       --accept '*.pdf' \
       https://donhopkins.com/home/TheSimsDesignDocuments/
drops all the pdfs into ./TheSimsDesignDocuments


"a little wget magic is all that is necessary"


Nice. Anyway to batch convert it all to ePub?


Here's how :

  $ 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 :

https://files.web.dynu.net/RCDtnceIVfyv.zip




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: