
File system List
CertifiedList files on an NFS mount
File system 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
Properties
from *Requiredstring
Directory path to list
maxFiles integerstring
25The maximum number of files to retrieve at once
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
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