Created
November 24, 2022 13:12
-
-
Save PauloLuan/f58582a692cf9c16dfbd957ed23a3604 to your computer and use it in GitHub Desktop.
Unshorten URL's with 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 | while read f; do echo "${f}"; curl -Ls -o /dev/null -w %{url_effective} "${f}" -O; echo "\n"; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment