Date created: Saturday, April 6, 2024 7:44:40 PM. Last modified: Sunday, October 27, 2024 4:49:39 PM

'wget' - Notes

Download a list of URLs;

for url in $(cat urls.txt); do echo "doing $url" && wget -O $(basename "$url") -nc --show-progress "$url"; done

# Rename files from .html to .mp4
for url in $(cat urls.txt); do echo "doing $url" && wget -O $(basename "${url/html/mp4}") -nc --show-progress "$url"; done

 


Previous page: 'vim' - Notes
Next page: 'youtube-dl' Notes