
NFS List
CertifiedList files on an NFS mount
NFS List
List files on an NFS mount
Lists files under an NFS path with optional regex filtering and recursion. Sorted with sort (default NONE) before capping results at maxFiles (default 25).
type: io.kestra.plugin.fs.nfs.ListExamples
List files in an NFS directory.
id: nfs_list
namespace: company.team
tasks:
- id: list_files
type: io.kestra.plugin.fs.nfs.List
from: /mnt/nfs/shared/documents
regExp: '.*\.pdf$'
recursive: true
sort: NAME_ASC
Installation
Our standard Docker images already include this plugin. If you use a -slim image or another setup, install it with the following command:
kestractl plugins get io.kestra.plugin:plugin-fs --compatible-for $KESTRA_VERSION For kestractl, use your Kestra version with --compatible-for, or specify an exact plugin version.
For Kestra CLI, replace LATEST with a specific version or version range to pin the plugin version.
Properties
from *string
Directory path to list
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150maxFiles integerstring
25The maximum number of files to retrieve at once
recursive booleanstring
falseList files recursively
regExp string
Regular expression to filter files
sort string
NONENONELAST_MODIFIED_ASCLAST_MODIFIED_DESCNAME_ASCNAME_DESCSort order applied to the list before maxFiles truncation
NONE (default) preserves the order returned by the filesystem walk. LAST_MODIFIED_ASC/LAST_MODIFIED_DESC sort by last modified time, oldest/newest first. NAME_ASC/NAME_DESC sort alphabetically by file name.
Outputs
files array
The list of files found
io.kestra.plugin.fs.nfs.List-File
date-timeThe creation time of the file
Whether the file is a directory
Whether the file is hidden
Whether the file is a symbolic link
date-timeThe last access time of the file
date-timeThe last modified time of the file
The java.nio.file.Path of the file
java.nio.file.Path
The name of the file
0The size of the file in bytes
uriThe absolute URI of the file