List files in the local filesystem.

Local filesystem access is disabled by default. You must configure the plugin default allowed-paths in your Kestra configuration.

Example (Kestra config):

yaml
plugins: 
  configurations: 
    - type: io.kestra.plugin.fs.local.List
      values: 
        allowed-paths: 
          - /data/files
yaml
type: "io.kestra.plugin.fs.local.List"
yaml
id: fs_local_list
namespace: company.team

tasks:
  - id: list_files
    type: io.kestra.plugin.fs.local.List
    from: "/data/input"
    regExp: ".*.csv"
    recursive: true
Properties

The fully-qualified URIs that point to the path

Default false

Whether to include subdirectories

If true, the task will recursively list files in all subdirectories.

Regular expression to filter files

Only files matching this regular expression will be listed.

Count of files found

SubType

List of files found

Format date-time
Format date-time
Format date-time
Format uri