Skip to content

Instantly share code, notes, and snippets.

@lytithwyn
Created July 23, 2011 02:41
Show Gist options
  • Save lytithwyn/1100890 to your computer and use it in GitHub Desktop.
Save lytithwyn/1100890 to your computer and use it in GitHub Desktop.
grep urls out of a source file, unescape them, and download them
pcregrep -o "http%3A%2F%2Fa\d\.sphotos\.ak[^&]+" index | perl -MURI::Escape -ne 'print uri_unescape($_)' | wget -i -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment