Read a directory at a given path. When using a forward slash at the beginning of a path, the path must be absolute. When left empty, the path defaults to “/”. Examples:
- myFolder -> Read a directory called “myFolder” in your home directory
- /pathToHomeDirectory -> Read the contents of your home directory
- /pathToHomeDirectory/myFolder ->Read a directory called “myFolder” in your home directory, this time using the absolute path
- someFolder/myFolder -> Read the contents of an existing folder in your home directory that is nested in an existing folder.
Inputs:
- Directory Path - The path to the directory that you want to read.
Outputs:
- Directory
- Items
- Name (text) - The name of the file or directory
- Path (text) - The absolute path of the file or directory
- File Size (number) - The file size in bytes
- Last Modified (text) - The last modified date
- Owner (number) - The owner of the file or directory
- Group (number) - The group of the file or directory
- Permissions (object) - Permissions for the file or directory
- Items