Skip to content

Instantly share code, notes, and snippets.

@keenahn
Created July 8, 2012 06:56
Show Gist options
  • 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
@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