Skip to content

Instantly share code, notes, and snippets.

@jskripsky
Created August 31, 2011 00:08
Show Gist options
  • Save jskripsky/1182475 to your computer and use it in GitHub Desktop.
Save jskripsky/1182475 to your computer and use it in GitHub Desktop.
Create static website copy
#!/bin/bash
wget \
--restrict-file-names=windows \
--html-extension \
--convert-links \
--page-requisites \
--recursive \
--no-host-directories \
--exclude-directories=UserData,UserData/generated \
--directory-prefix=somesite \
http://www.somesite.com/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment