forked from TrueCloudLab/rclone
Update filtering.md
Clarify by removing the extension which makes it confusing if not careful.
This commit is contained in:
parent
ae3a0ec27e
commit
4b40898743
1 changed files with 2 additions and 2 deletions
|
@ -44,9 +44,9 @@ A `*` matches anything but not a `/`.
|
||||||
|
|
||||||
*.jpg - matches "file.jpg"
|
*.jpg - matches "file.jpg"
|
||||||
- matches "directory/file.jpg"
|
- matches "directory/file.jpg"
|
||||||
- doesn't match "file.jpg/anotherfile.png"
|
- doesn't match "file.jpg/something"
|
||||||
|
|
||||||
Use `**` to match anything, including slashes.
|
Use `**` to match anything, including slashes (`/`).
|
||||||
|
|
||||||
dir/** - matches "dir/file.jpg"
|
dir/** - matches "dir/file.jpg"
|
||||||
- matches "dir/dir1/dir2/file.jpg"
|
- matches "dir/dir1/dir2/file.jpg"
|
||||||
|
|
Loading…
Add table
Reference in a new issue