RemoveFile_Multiple


Removes files that match a pattern from a directory.

Syntax

C++
Python
 
def RemoveFile_Multiple(
	inStartDirectory: str,
	inMask: str,
	inProcessSubdirectories: bool,
	/
)
-> outSuccess: bool

Parameters

Name Type Default Description
Input value inStartDirectory str Path to the directory from which the files are to be deleted
Input value inMask str Wildcard pattern
Input value inProcessSubdirectories bool Process subdirectories recursively
Output value outSuccess bool Whether the deletion was successful or not