开发者

Shell Script to download files

开发者 https://www.devze.com 2023-01-22 02:24 出处:网络
I am trying to write a unix shell script to download all the files in a dire开发者_运维知识库ctory posted on a website. How would I go about doing this? Thanks playasYou could make use of wget\'s flag

I am trying to write a unix shell script to download all the files in a dire开发者_运维知识库ctory posted on a website. How would I go about doing this? Thanks playas


You could make use of wget's flags:

--mirror

--no-parent 


man wget


wget -r -np http://example.com/directory/to/files
0

精彩评论

暂无评论...
验证码 换一张
取 消