Directory Listing
Description
Section titled “Description”Writes a table listing the files in a document directory. Use it to drive downstream steps from whatever files are present — for example, to loop over every file in a folder or to check what an upstream process delivered.
Directory
Section titled “Directory”Select a document account, then press the Browse button to pick the folder to list.
Options
Section titled “Options”- File Pattern (optional) — a glob such as
*.csvto list only matching files. Leave blank to list everything. - Include Subdirectories — when checked, files in nested folders are listed as well.
- Target Table — the table that receives the listing.
Additional Settings
Section titled “Additional Settings”The Which Files options narrow the listing:
- Also list folders, with an IsFolder column (
include_folders) — also list folders, as rows. Every row then carries a trailingIsFoldercolumn, true for a folder. - List the directory itself first (
include_root_folder) — withinclude_folders, also list the directory itself, first. - File Name Pattern (
file_name_filter) — only files whose name matches. Pattern Type is Wildcard or Regular expression (type), and Match case setscase_sensitive. - Folder Name Pattern (
folder_name_filter) — only entries in folders whose names match, in the same form; every folder on the way down must match. - Extensions (
extensions) — only files with one of these extensions, without the dot. Match the extension’s case (extensions_case_sensitive) matches them with case. - Include hidden files (a name starting with a dot) (
include_hidden_files) and Include hidden folders and what is below them (include_hidden_folders) — clear either to leave out files or folders whose name starts with a dot.