Skip to content

Instantly share code, notes, and snippets.

@keenahn
Created July 8, 2012 06:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keenahn/3069723 to your computer and use it in GitHub Desktop.
Save keenahn/3069723 to your computer and use it in GitHub Desktop.
wget a list of files
#!/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
@hemanth
Copy link

hemanth commented Jul 8, 2012

wget -i file_with_urls 

@keenahn
Copy link
Author

keenahn commented Jul 8, 2012 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment