Skip to content

Instantly share code, notes, and snippets.

@keenahn
Created July 8, 2012 06:56
Show Gist options
  • Select an option

  • Save keenahn/3069723 to your computer and use it in GitHub Desktop.

Select an option

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

hemanth commented Jul 8, 2012

Copy link
Copy Markdown
wget -i file_with_urls 

@keenahn

keenahn commented Jul 8, 2012 via email

Copy link
Copy Markdown
Author

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