Skip to content

Instantly share code, notes, and snippets.

@aerickson
Created May 7, 2020 07:00
Show Gist options
  • Save aerickson/37d911e61731a32a04d2ed6cbe9d5378 to your computer and use it in GitHub Desktop.
Save aerickson/37d911e61731a32a04d2ed6cbe9d5378 to your computer and use it in GitHub Desktop.
mirror squarespace site with wget
#!/usr/bin/env bash
set -e
wget --recursive -c --level=inf --page-requisites --convert-links --adjust-extension --span-hosts --domains=mywebsite.com,squarespace-cdn.com http://www.mywebsite.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment