mirror of
https://github.com/rclone/rclone.git
synced 2025-12-12 06:24:14 +01:00
Update filtering.md
Clarify by removing the extension which makes it confusing if not careful.
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user