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

docs: mention that inline comments are not supported in a filter-file

tgfisher8ca7b2af072e
diff --git a/docs/content/filtering.md b/docs/content/filtering.md
index ffc898c25..c73e41f7b 100644
--- a/docs/content/filtering.md
+++ b/docs/content/filtering.md
@@ -505,6 +505,8 @@ processed in.
Arrange the order of filter rules with the most restrictive first and
work down.
+Lines starting with # or ; are ignored, and can be used to write comments. Inline comments are not supported. _Use `-vv --dump filters` to see how they appear in the final regexp._
+
E.g. for `filter-file.txt`:
# a sample filter rule file
@@ -512,6 +514,7 @@ E.g. for `filter-file.txt`:
+ *.jpg
+ *.png
+ file2.avi
+ - /dir/tmp/** # WARNING! This text will be treated as part of the path.
- /dir/Trash/**
+ /dir/**
# exclude everything else