
File system Copy
CertifiedCopy a file on NFS
File system Copy
Certified
Copy a file on NFS
Copies a file between paths on the same NFS mount. Parent directories are created when missing and existing targets are overwritten.
yaml
type: io.kestra.plugin.fs.nfs.CopyExamples
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
Source file path
to *Requiredstring
Destination path
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
Outputs
from string
Format
uriThe URI of the original file
to string
Format
uriThe URI of the new copied file