Skip to main content

Each file in folder

Yield each file in a folder (or each file the name rules choose): its path, or with details its name, extension, folder, size and date.

Loop type in the File toolkit · id ooa.file/files_in_folder · 3 inputs (1 required), no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
FolderFileYesFolder path, or name rules choosing the files.
PatternStringNo*Glob pattern.
Each pass gives the file's detailsBooleanNofalseGive each file as a Dictionary with path, name, name_without_extension, extension, folder, size_bytes and modified, instead of its path alone.