diff options
author | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2019-04-05 19:52:42 -0700 |
---|---|---|
committer | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2019-04-05 19:52:42 -0700 |
commit | 707e8ab96e00d8110e4c6e0790e984184b6fc2ca (patch) | |
tree | 56e59ac6b3f62f91718592046f67531f877415f0 | |
parent | 54eac88c888334411b075667c9f5b69eb360a42e (diff) |
Accept/reject in recursive wget
-rw-r--r-- | wget.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -12,3 +12,11 @@ Defaults to 5 levels deep. wget -r <url> wget -r -l <depth> <url> + +Accept or reject links with patterns (useful to download files from a file +listing, where the files follow a naming pattern). + + wget -r -A <file1,file2> # can use *, ?, [] + wget -r -R <file1,file2> # can use *, ?, [] + wget -r --accept-regex <regex> + wget -r --reject-regex <regex> |