Created
September 1, 2016 16:53
-
-
Save samirfor/825c43b34405fe4ec79ccd9bf08ca3b3 to your computer and use it in GitHub Desktop.
Converts http://penta.ufrgs.br/gereseg/rfc2196/ in a single pdf document with wkhtmltopdf docker container
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
mkdir -p rfc2196 | |
cd rfc2196 | |
wget -r -nH -nd -np http://penta.ufrgs.br/gereseg/rfc2196/ | |
docker run -v $PWD:/tmp traumfewo/docker-wkhtmltopdf $(ls | sed "s|^|file:///tmp/|g" | xargs) "/tmp/rfc2196.pt-br.pdf" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment