Skip to content

Instantly share code, notes, and snippets.

@cjlano
Created September 11, 2012 16:42
Show Gist options
  • Save cjlano/3699743 to your computer and use it in GitHub Desktop.
Save cjlano/3699743 to your computer and use it in GitHub Desktop.
V-USB history download
# Get the download page src
wget http://www.obdev.at/products/vusb/download.html
# Find all unique tar.gz in the page
# Who can do a nicer 'sed' invocation ?
sed -rn "s|/downloads/vusb/[a-z0-9-]+\.tar\.gz|\n\nhttp://www.obdev.at&\n\n|gp" < download.html | grep '^http' | sort -u | xargs wget
#make a git repo out of it...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment