10. WGET, 10 wget

Source: Internet
Author: User

10. WGET, 10 wget

This is a good http://www.cnblogs.com/peida/archive/2013/03/18/2965369.html I have seen.

WGET supports HTTP and FTP protocols, resumable data transfer, and automatic recursion of remote host directories.

It is suitable for downloading online files in batches or creating images for remote Websites, and restoring backups from remote servers to local servers.

 

-L sets the recursive level. The default value is 5. -L1 is not recursive;-l0 is infinite Recursion

 

-R recursive download. If it is an HTML file, all files with this file hyperlink are recursively downloaded. The download depth is specified by the parameter-l.

Wget-r-l 2 ftp: // 172.16.22.99/ass

Indicates downloading all files under the second level under the ass directory (including all files under the ass directory)

 

-N timestamp. Only files with the same length as the last modification date in the current directory will be updated.

Wget-r-N ftp: // 172.16.22.99/ass

 

-M: Creates a website image, which is equivalent to using both the-r and-N parameters.

Wget-m ftp: // 172.16.22.99

 

-T indicates the number of retries due to connection interruption or connection timeout.

 

-C specifies the resumable upload function.

 

-B background download

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.