mirror of
https://github.com/rclone/rclone
synced 2024-12-26 18:23:45 +01:00
8897377a54
Rclone uses directory exclusions to cut down the listing it has to do, so before this fix `--exclude dir/` would make sure nothing in `dir/` was scanned, **except** if --fast-list was used, in which case only the directory was excluded and everything within it was included. This is rather unexpected, so this patch makes `--exclude dir/` be equivalent to `--exclude dir/**`, meaning that excluding a directory excludes it and its contents. We can't do the same for --include without changing the semantics of filtering slightly. Fixes #3375 |
||
---|---|---|
.. | ||
filterflags | ||
filter_test.go | ||
filter.go | ||
glob_test.go | ||
glob.go |