Skip to content

File Path Condition

Checks the full vault-relative path of the file.

Example: File path starts with Projects/Active — matches any file in that subtree

Available Operators

All condition types share the same set of string operators:

OperatorDescription
existsTrue if the value is present (non-empty). No extra input needed.
containsTrue if the value includes the given string
starts withTrue if the value begins with the given string
ends withTrue if the value ends with the given string
matches regexTrue if the value matches the given regular expression

Operators are case-sensitive. For case-insensitive matching, use the matches regex operator with the (?i) flag (e.g. (?i)projects).

Released under the MIT License.