Skip to content

Instantly share code, notes, and snippets.

@dalekunce
Created September 30, 2014 02:35
Show Gist options
  • Save dalekunce/3af7185fac7f7601f5fa to your computer and use it in GitHub Desktop.
Save dalekunce/3af7185fac7f7601f5fa to your computer and use it in GitHub Desktop.
wget multiple files from file
#!/bin/sh
url=$(awk -F = '{print $2}' url.txt)
for i in $(cat file.txt);
do
wget "${url}${i}"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment