Date created: Saturday, April 6, 2024 7:44:40 PM. Last modified: Sunday, July 7, 2024 10:04:52 AM

'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