简体   繁体   中英

wget: Download Files with Specific Names

I try to download file from a website which is updated every day. I managed to download all the gz files with the command:

wget -r  --no-parent -A.gz --no-directories -R robots http://www.web.com/some_path/

But now I want to download only the files with specific name, eg "FullList" . How do I do this?

使用-A选项后跟您的字符串,如-A "string*"

Use the -O option for wget . Example:

wget https://sample.com/movie/gameofthrones.mp4 -O Session01Part03.mp4

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM