List files from an NFS mount point.
yaml
type: "io.kestra.plugin.fs.nfs.List"Examples
List files in an NFS directory.
yaml
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
Properties
from *Requiredstring
The directory path to list from.
nfsService Non-dynamicNfsService
Default
{}recursive booleanstring
Default
falseWhether to list files recursively.
regExp string
A regular expression to filter files.
Definitions
io.kestra.plugin.fs.nfs.NfsService
java.nio.file.Path
io.kestra.plugin.fs.nfs.List-File
creationTime string
Format
date-timeThe creation time of the file.
isDirectory boolean
Whether the file is a directory.
isHidden boolean
Whether the file is hidden.
isSymbolicLink boolean
Whether the file is a symbolic link.
lastAccessTime string
Format
date-timeThe last access time of the file.
lastModifiedTime string
Format
date-timeThe last modified time of the file.
localPath Path
The java.nio.file.Path of the file.
name string
The name of the file.
size integer
Default
0The size of the file in bytes.
uri string
Format
uriThe absolute URI of the file.