Knowledge Base
Examples
Quick Start Guides

What patterns can I use to match files in a FileExistTrigger?


Symbol Meaning

"*" :Include all file names in the current directory. Directory names are not included. File and directory names in any sub-directories are not included.

"**" :Include all file and directory names off the current directory and in all subdirectories indirectly reachable from the current directory.

"*.txt" :Includes all file names ending with the literal ".txt" in the current directory. No files in any sub-directories are included.

"?.txt" :Includes all file names ending with the literal ".txt" in the current directory that have exactly one character in front of the ".txt" suffix. No files in any sub-directories are included.

"/.txt" :Includes all file names ending with the literal ".txt" in each sub-directory directly beneath the current directory. No deeper sub-directories are included. Does not include any ".txt" files in the current directory.

"*/.txt" :Includes all file names ending with the literal ".txt" in the current directory and in all sub-directories.

"myfile" :Includes the literal name "myfile". If the literal name "myfile" already exists as a file or directory, "myfile" refers to that file or directory. If "myfile" does not exist, "myfile" refers to a file, not a directory.

"myfile/" :Note the trailing slash. Includes the literal name "myfile". If the literal name "myfile" already exists as a file or directory, "myfile" refers to that file or directory. If "myfile" does not exist, "myfile" refers to a directory, not a file.