Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

wget cheatsheet

📅 2016-Jan-22 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

$ wget url_to_download

It writes to the current directory with a filename same as in the URL.

$ wget -O write_to_this_file url_to_download
$ wget -P this_dir url_to_download
$ wget -i list_of_urls.txt
$ wget -q url_to_download

Tried with: Wget 1.15 and Ubuntu 14.04