From 996037bee931b24f528ea102374e26da72ed15b4 Mon Sep 17 00:00:00 2001 From: Sawada Tsunayoshi <34431649+TsunayoshiSawada@users.noreply.github.com> Date: Fri, 30 Jun 2023 18:58:38 +0530 Subject: [PATCH] docs: fixed typo in exclude example in filtering docs (#7097) The exclude flag instructions had "without" written as "with" which changes the whole meaning of how the exclude flag works. --- docs/content/filtering.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/filtering.md b/docs/content/filtering.md index 12332dfeb..112fe806c 100644 --- a/docs/content/filtering.md +++ b/docs/content/filtering.md @@ -367,7 +367,7 @@ all files on `remote:` excluding those in root directory `dir` and sub directories. E.g. on Microsoft Windows `rclone ls remote: --exclude "*\[{JP,KR,HK}\]*"` -lists the files in `remote:` with `[JP]` or `[KR]` or `[HK]` in +lists the files in `remote:` without `[JP]` or `[KR]` or `[HK]` in their name. Quotes prevent the shell from interpreting the `\` characters.`\` characters escape the `[` and `]` so an rclone filter treats them literally rather than as a character-range. The `{` and `}`