Copy a file on an NFS mount.
yaml
type: "io.kestra.plugin.fs.nfs.Copy"Examples
Copy a file from one location to another on an NFS mount.
yaml
id: nfs_copy
namespace: company.team
tasks:
- id: copy_file
type: io.kestra.plugin.fs.nfs.Copy
from: /mnt/nfs/shared/in/file.txt
to: /mnt/nfs/shared/out/file_copy.txt
Properties
from *Requiredstring
The path to the file to copy.
to *Requiredstring
The destination path.
nfsService Non-dynamicNfsService
Default
{}Outputs
from string
Format
uriThe URI of the original file.
to string
Format
uriThe URI of the new copied file.