开发者

Shell Script to download files

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜