Downloading multiple urls using xargs & curl.
Using both xargs
& curl
together you can download multiple urls all at once without have to call curl over & over. Simply put all your links into a .txt
file & then call it using the command below….
xargs -n 1 curl -O < links.txt
Whenever creating the
.txt
file, make sure to put each link on it’s own line with nothing else around it. You can also name the file whatever you please. Just remember to change it in the command before running.