fileListDir
Version 22.0.8473
fileListDir
Version 22.0.8473
Lists the files and directories in the specified path.
Required Parameters
- path: The path whose directories and files will be listed. The default value is ‘.’.
Optional Parameters
- mask: The pattern that will be used for filtering the result entries. The default value is ‘*’.
- recurse: To list entries recursively. The allowed values are ‘false, true’. The default value is ‘false’.
- fileordir: To list only files or directories. The allowed values are ‘all, files, dirs’. The default value is ‘all’.
Output Attributes
- file:fullname: The full path of the file or directory in the current entry.
- file:name: The name of the file or directory in the current entry.
- file:mtime: The time at which the file or directory in the current entry was written to.
- file:ctime: The time at which the file or directory in the current entry was created.
- file:atime: The time at which the file or directory in the current entry was last read from or written to.
- file:attributes: A list of attributes of the file or directory in the current entry.
- file:extension: The extension of the entry.
- file:size: The size of the file in bytes.
- file:isdir: Whether the entry is a file or directory.