Skip to content

Instantly share code, notes, and snippets.

@jalbertbowden
Forked from atomotic/Readme.md
Created July 2, 2014 15:08
Show Gist options
  • Select an option

  • Save jalbertbowden/d039dc633ccd2b229279 to your computer and use it in GitHub Desktop.

Select an option

Save jalbertbowden/d039dc633ccd2b229279 to your computer and use it in GitHub Desktop.

save a page to internetarchive wayback from shell

put the function in your .zshrc or .bashrc and then

~  ia-save http://twitter.com/atomotic
https://web.archive.org/web/20140702123925/http://twitter.com/atomotic
function ia-save() { curl -s -I https://web.archive.org/save/$* | grep Content-Location | awk '{print "https://web.archive.org"$2}' }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment