File system Copy

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.Copy

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

Source file path

Destination path

Reference (ref) of the pluginDefaults to apply to this task.

Formaturi

The URI of the original file

Formaturi

The URI of the new copied file