m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/wget.md
diff options
context:
space:
mode:
Diffstat (limited to 'wget.md')
-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>