Created
July 8, 2012 06:56
-
-
Save keenahn/3069723 to your computer and use it in GitHub Desktop.
wget a list of files
This file contains 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
#!/bin/bash | |
while read line | |
do | |
echo $line | |
wget $line > /dev/null 2>&1 | |
done < $1 | |
# USAGE: wgets.sh a.txt | |
# Where a.txt is a list of URLs | |
# Pretttty simple. TODO: accept redirected input as well |
Author
keenahn
commented
Jul 8, 2012
via email
Well that is superior! Thank you sir
…On Jul 8, 2012 12:59 AM, "hemanth.hm" < ***@***.***> wrote:
wget -i file_with_urls
---
Reply to this email directly or view it on GitHub:
https://gist.github.com/3069723
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment