Skip to content

Instantly share code, notes, and snippets.

@freedmand
freedmand / website_to_pdf.sh
Created April 17, 2023 12:48
Archives all pages of a specified website and outputs a single PDF file
#!/bin/bash
# Archives a specified website including all sub-pages and outputs a single PDF file
# Requires the following tools to be installed:
# - wget
# - wkhtmltopdf
# - gs (ghostscript)
# Installation: