-
-
Save cwarden/44637c15808766872745 to your computer and use it in GitHub Desktop.
Test redirects using curl
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
cat urls.txt | xargs -i sh -c "echo -n '{},'; curl -L -s -o /dev/null -w '%{url_effective},%{http_code}\n' '{}'" | tee redirect-test-results.csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment