Created
October 6, 2016 20:41
-
-
Save lsloan/4384a084043620b18090dcce4c245e53 to your computer and use it in GitHub Desktop.
Using curl to fetch multiple URLs listed in a file. From http://blog.gypsydave5.com/2016/02/04/xargs-and-curl/
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
$ cat file-with-list-of-urls.txt | xargs -n 1 curl -LO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment