Delete a file from an NFS mount.
yaml
type: "io.kestra.plugin.fs.nfs.Delete"Examples
Delete a file from an NFS mount.
yaml
id: nfs_delete
namespace: company.team
tasks:
- id: delete_file
type: io.kestra.plugin.fs.nfs.Delete
uri: /mnt/nfs/shared/logs/old_log.txt
errorOnMissing: false
Properties
uri *Requiredstring
The path to the file to delete.
errorOnMissing Non-dynamicboolean
Default
trueRaise an error if the file doesn't exist.
nfsService Non-dynamicNfsService
Default
{}Outputs
deleted boolean
Default
falseWhether the file was successfully deleted.
uri string
Format
uriThe URI of the deleted file.