Skip to content

Instantly share code, notes, and snippets.

@guzart
Created March 21, 2012 17:14
Show Gist options
  • Save guzart/2149669 to your computer and use it in GitHub Desktop.
Save guzart/2149669 to your computer and use it in GitHub Desktop.
bash: Download and Compress Rails API
#!/bin/bash
rm -rf api.rubyonrails.org/
wget -r -k -p http://api.rubyonrails.org/
rm rails_api.rar
rar a -r rails_api.rar api.rubyonrails.org/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment