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 filtering docs #489

Nick Craig-Woodcadf2021073b
diff --git a/docs/content/filtering.md b/docs/content/filtering.md
index 6c33d2c82..fb22b0c7f 100644
--- a/docs/content/filtering.md
+++ b/docs/content/filtering.md
@@ -82,6 +82,11 @@ Special characters can be escaped with a `\` before them.
\\.jpg - matches "\.jpg"
\[one\].jpg - matches "[one].jpg"
+Note also that rclone filter globs can only be used in one of the
+filter command line flags, not in the specification of the remote, so
+`rclone copy "remote:dir*.jpg" /path/to/dir` won't work - what is
+required is `rclone --include "*.jpg" copy remote:dir /path/to/dir`
+
### Directories ###
Rclone keeps track of directories that could match any file patterns.