Skip to content

Instantly share code, notes, and snippets.

@akhildevelops
Last active July 13, 2018 10:59
Show Gist options
  • Save akhildevelops/8feb53f887010fd17d5e857937761696 to your computer and use it in GitHub Desktop.
Save akhildevelops/8feb53f887010fd17d5e857937761696 to your computer and use it in GitHub Desktop.
Download from multiple URLS listed in a File.
# File should contain URLs seprated by new lines
# Execute the Script by running './download.sh <File_Path>'
# If unable to run give executable permissions by running 'chmod +x download.sh'
while read p; do
wget -L -P $2 $p
done <$1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment