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
精彩评论