wget tips

I. Case

wget , download a powerful command . If for downloading files midway due to a local network problem disconnected, not downloaded, re-run a bit WGET command , you will find completely re-download the new file name will add 1 back .....

This is wget problem re-download download failed encounter,

-rw-r--r-- 1 root root 2.3G Sep 14 22:57 a.tar.gz
-rw-r--r-- 1 root root  20M Sep 14 20:46 a.tar.gz.1

Second, the resume

-c https://a.com/a.tar.gz wget   # This parameter will resume before the document.
# Automatically retry until the download is complete
wget -t -c https://a.com/a.tar.gz 0 # default will retry 20 times, -t 0 has let him retry!

Third, other extensions

# Download entire Web page it 
wget -p https://a.com/
# URL to download the file you need to specify a username and password 
wget https://a.com/a.tar.gz --user = name --password = passwd

 More, typing man wget

 

Guess you like

Origin www.cnblogs.com/CGCong/p/12083484.html