Created
July 23, 2011 02:41
-
-
Save lytithwyn/1100890 to your computer and use it in GitHub Desktop.
grep urls out of a source file, unescape them, and download them
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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