Skip to content

Instantly share code, notes, and snippets.

@keenahn
Created Jul 8, 2012
Embed
What would you like to do?
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

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