Skip to content

Instantly share code, notes, and snippets.

@lsloan
Created October 6, 2016 20:41
Show Gist options
  • Save lsloan/4384a084043620b18090dcce4c245e53 to your computer and use it in GitHub Desktop.
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/
$ 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