wget a list of urls code example
Example 1: bash how to download files from a list of links
# Basic syntax:
wget -i list_of_links.txt
# Example usage:
# If you had a list_of_links.txt file containing a list of links like:
www.example.com/1.pdf
www.example.com/2.pdf
www.example.com/3.pdf
wget -i list_of_links.txt # Running this would download all files listed
# in the list_of_links.txt file
Example 2: wget download list of urls
wget -i file.txt