Using wget to recursively fetch a directory with arbitrary files in it

前端 未结 14 2110
再見小時候
再見小時候 2020-11-27 08:31

I have a web directory where I store some config files. I\'d like to use wget to pull those files down and maintain their current structure. For instance, the remote directo

14条回答
  •  盖世英雄少女心
    2020-11-27 09:14

    To fetch a directory recursively with username and password, use the following command:

    wget -r --user=(put username here) --password='(put password here)' --no-parent http://example.com/
    

提交回复
热议问题