mirror of
https://github.com/rclone/rclone.git
synced 2025-08-19 09:52:05 +02:00
filter: allow multiple --exclude-if-present flags - fixes #6219
This commit is contained in:
@@ -750,7 +750,9 @@ Useful for debugging.
|
||||
|
||||
The `--exclude-if-present` flag controls whether a directory is
|
||||
within the scope of an rclone command based on the presence of a
|
||||
named file within it.
|
||||
named file within it. The flag can be repeated to check for
|
||||
multiple file names, presence of any of them will exclude the
|
||||
directory.
|
||||
|
||||
This flag has a priority over other filter flags.
|
||||
|
||||
@@ -764,8 +766,6 @@ E.g. for the following directory structure:
|
||||
The command `rclone ls --exclude-if-present .ignore dir1` does
|
||||
not list `dir3`, `file3` or `.ignore`.
|
||||
|
||||
`--exclude-if-present` can only be used once in an rclone command.
|
||||
|
||||
## Common pitfalls
|
||||
|
||||
The most frequent filter support issues on
|
||||
|
Reference in New Issue
Block a user