Wget – The non-interactive network downloader
GNU Wget is a free utility for non-interactive download of files from the Web. It supports HTTP, HTTPS, and FTP protocols, as well as retrieval through HTTP proxies.
|-N, –timestamping||Turn on time-stamping.|
|-P prefix, –directory-prefix=prefix||Set directory prefix to prefix. The directory prefix is the directory where all other files and subdirectories will be saved to, i.e. the top of the retrieval tree. The default is . (the current directory).|
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
Download all deb packages from a page:
wget -r -l1 -erobots=off -A .deb http://de.archive.ubuntu.com/ubuntu/pool/main/u/ubuntu-wallpapers/