Using bash to download files from url list

Written on August 18, 2016

Today I need to download a large list of files. So I put all the URLs in a file (called url) and iterate of it in bash to download them by wget:

#!/usr/bin/env bash

while read ll; do
        wget $ll
done < url