Copyright: MZ21G https://blog.csdn.net/qq_35793285/article/details/89879693
Information on today want to download compiler theory of "Tiger book", but just use wget to download a index.html ~~, as follows
So I reference, write this blog to record
Methods as below:
wget -r -np -nH -R index.html http://url/including/files/you/want/to/download/
The meaning of each parameter:
- -r : through all the subdirectories
- -NP : Less than one level subdirectories go
- -nH : Do not save the file to the host name of the folder
- Index.html -R : Do not download files index.html
Results are as follows:
Of course, some of the downloaded file is useless things, like delete ~
Reference: http://www.xjliu.net/blog/?p=591