#BashFu – How to wget a list of URLs and keep original file names
So you have a list of URLs that redirect to downloads (Excel Files, Word Documents, etc) Use this to download all of them and keep the original filename: wget –content-disposition –trust-server-names -i list_of_urls.txt source