Check if a folder is empty

Description

The Check if a folder is empty action verifies if a folder is empty and that there are no regular files or sub-folders in the folder.

Options

Option Description

Action name

The name of the workflow action.

Folder name

The name of the folder to verify for emptiness.

Include subfolders

Check if there are subfolders in the folder to check.

Limit search to

Limits the search for files to those with a certain wildcard (regular expression)

Wildcard

The wildcard (regular expression) to limit the files to look for with, for example: .*\.txt$