瀏覽代碼

wget: Add subdirectory example (#1693)

a-raccoon 7 年之前
父節點
當前提交
33e9cb17b3
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      pages/common/wget.md

+ 4 - 0
pages/common/wget.md

@@ -19,6 +19,10 @@
 
 `wget --mirror --page-requisites --convert-links --wait=3 {{https://example.com}}`
 
+- Download all listed files within a directory and its sub-directories (does not download embedded page elements):
+
+`wget --mirror --no-parent {{https://example.com/somepath/}}`
+
 - Download the contents of an URL via authenticated FTP:
 
 `wget --ftp-user={{username}} --ftp-password={{password}} {{ftp://example.com}}`