Skip to content

Instantly share code, notes, and snippets.

@lionelyoung
Created May 22, 2010 04:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lionelyoung/409754 to your computer and use it in GitHub Desktop.
Save lionelyoung/409754 to your computer and use it in GitHub Desktop.
#!/bin/bash
#
# Download the solutions to ME422, which are posted every week
#
# Created Wed Oct 3 10:33:57 PDT 2007
# Explanation of wget switches
# nH No host
# nc no clobber, don't replace existing files
USERNAME=username
PASSWORD=password
cd $HOME && wget --no-parent -nH -nc -r --http-user=$USERNAME --http-password=$PASSWORD -A jpg http://me.me.calpoly.edu:1280/ME422/solutions/index.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment