I have a text file with a list of urls I want to download. I want wget to wait before downloading the next url. I'm using
cat urls.txt | xargs -n1 -i wget --wait=30 {}
However there is no wait between urls. Can I use wget's –wait option for this? Other alternatives?
Best Answer
It's because wget is newely invoked for each url. Use the
-i
option to feed a list of URLs towget
:From the manual: