{"id":2696,"date":"2019-10-05T21:39:40","date_gmt":"2019-10-05T21:39:40","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=2696"},"modified":"2019-10-05T21:39:41","modified_gmt":"2019-10-05T21:39:41","slug":"wget-multiple-links-with-random-access-times","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/wget-multiple-links-with-random-access-times\/","title":{"rendered":"wget multiple links with random access times"},"content":{"rendered":"\n<p>Create a file &#8220;list.txt&#8221; that contains all the URLs you want to download and launch the following command<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">for i in <code>cat list.txt<\/code> ; do wget ${i} &amp;&amp; sleep $(( ( RANDOM % 120 ) +1 )) ; done<\/pre>\n\n\n\n<p>It&#8217;ll now run and after each link will wait a random amount of time up to 120 seconds before downloading the next link.  Change the number as needed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Create a file &#8220;list.txt&#8221; that contains all the URLs you want to download and launch the following command for i in cat list.txt ; do wget ${i} &amp;&amp; sleep $(( ( RANDOM % 120 ) +1 )) ; done It&#8217;ll &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/wget-multiple-links-with-random-access-times\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[211,226,752,405,38],"class_list":["post-2696","post","type-post","status-publish","format-standard","hentry","category-linux","tag-bash","tag-download","tag-random","tag-scripting","tag-wget"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2696","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=2696"}],"version-history":[{"count":1,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2696\/revisions"}],"predecessor-version":[{"id":2697,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2696\/revisions\/2697"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=2696"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=2696"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=2696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}