mirror of
https://github.com/rclone/rclone.git
synced 2024-11-21 16:03:29 +01:00
docs: mention that inline comments are not supported in a filter-file
This commit is contained in:
parent
a19ddffe92
commit
8ca7b2af07
@ -505,6 +505,8 @@ processed in.
|
|||||||
Arrange the order of filter rules with the most restrictive first and
|
Arrange the order of filter rules with the most restrictive first and
|
||||||
work down.
|
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`:
|
E.g. for `filter-file.txt`:
|
||||||
|
|
||||||
# a sample filter rule file
|
# a sample filter rule file
|
||||||
@ -512,6 +514,7 @@ E.g. for `filter-file.txt`:
|
|||||||
+ *.jpg
|
+ *.jpg
|
||||||
+ *.png
|
+ *.png
|
||||||
+ file2.avi
|
+ file2.avi
|
||||||
|
- /dir/tmp/** # WARNING! This text will be treated as part of the path.
|
||||||
- /dir/Trash/**
|
- /dir/Trash/**
|
||||||
+ /dir/**
|
+ /dir/**
|
||||||
# exclude everything else
|
# exclude everything else
|
||||||
|
Loading…
Reference in New Issue
Block a user