Skip to content

Instantly share code, notes, and snippets.

@chrispauley
Last active February 21, 2018 15:13
Show Gist options
  • Save chrispauley/a01515498cd7f691ec7b74da1965a589 to your computer and use it in GitHub Desktop.
Save chrispauley/a01515498cd7f691ec7b74da1965a589 to your computer and use it in GitHub Desktop.

Prerequisites

brew install wget

This is adapted from the following article: https://www.rosehosting.com/blog/wget-command-examples/

Download a single file

wget http://gpxdb.com/samples.zip

Download a file and save it to a specific directory

wget -P /opt/gpxdb http://gpxdb.com/samples.zip

Download an entire website

wget -r -p http://gpxdb.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment