m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-04-05 19:52:42 -0700
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-04-05 19:52:42 -0700
commit707e8ab96e00d8110e4c6e0790e984184b6fc2ca (patch)
tree56e59ac6b3f62f91718592046f67531f877415f0
parent54eac88c888334411b075667c9f5b69eb360a42e (diff)
Accept/reject in recursive wget
-rw-r--r--wget.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/wget.md b/wget.md
index 4221bbc..1f8157d 100644
--- a/wget.md
+++ b/wget.md
@@ -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>