Workspace 6.21.5
ListDirectory

Outputs the contents of a directory as a QStringList of file names. Can optionally execute recursively.

  • Default label: "List directory"
  • Member of plug-in: Built-in
  • Catalogue path: Builtin/System
Inputs:
DirectoryQString

Recursion depthintDepth to recurse into directories.
Name filterQStringOnly files that match this pattern will be included in the list.
Regular expressionbool

FilesboolIncludes files in the output list.
DirectoriesboolInclude directores in the output list.
Symbolic linksboolInclude symbolic links in the output list.
Hidden entriesboolInclude hidden files in the output list.
Sort resultsbool

Sort results alpha-numerically.

Outputs:
EntriesQStringList