Created
April 9, 2014 20:59
-
-
Save commuterjoy/10315062 to your computer and use it in GitHub Desktop.
Generate the response code for a list of URLs (inc. following redirects)
This file contains hidden or 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
cut -d , -f 2 list-of-urls | xargs -n 1 -I @ echo 'curl -Lsi -w "%{http_code} %{url_effective}\\n" @ -o /dev/null' | /bin/sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment