wget — downloading files over the network
cheat sheet · GNU wget https://lab.dimsanych.ru/en/wiki/wget/Cheat sheet
-
wget URLdownload it -
wget -O name URLunder your own name -
wget -c URLresume it -
wget -O- URL | cmdto stdout (into a pipeline) -
wget -i urls.txta list of URLs -
wget -r -np -k -p URLmirror a directory
Options
-r (recursion) without -np (don't go above the starting directory)
and without -l N (depth limit) has no natural limit — the download will
follow every link on the site, including external ones, until you stop it
manually. -c resumes an interrupted download only if the server
supports Range — otherwise it starts over from zero regardless of the
flag.