Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

Clarify match rules in filter docs

Nick Craig-Woodaaad0354e615
diff --git a/docs/content/filtering.md b/docs/content/filtering.md
index d1d287ca1..960b603d0 100644
--- a/docs/content/filtering.md
+++ b/docs/content/filtering.md
@@ -120,13 +120,14 @@ Rclone always does a wildcard match so `\` must always escape a `\`.
## How the rules are used ##
-Rclone maintains a list of include rules and exclude rules.
+Rclone maintains a combined list of include rules and exclude rules.
-Each file is matched in order against the list until it finds a match.
-The file is then included or excluded according to the rule type.
+Each file is matched in order, starting from the top, against the rule
+in the list until it finds a match. The file is then included or
+excluded according to the rule type.
-If the matcher falls off the bottom of the list then the path is
-included.
+If the matcher fails to find a match after testing against all the
+entries in the list then the path is included.
For example given the following rules, `+` being include, `-` being
exclude,