Copy files within the local file system.
yaml
type: "io.kestra.plugin.fs.local.Copy"
Copy a file within the local filesystem
yaml
id: "copy"
type: "io.kestra.plugin.fs.local.Copy"
id: copy_file
namespace: company.team
tasks:
- id: copy
type: io.kestra.plugin.fs.local.Copy
from: "input/data.csv"
to: "backup/data.csv"
overwrite: true
The file or directory to move from local file system.
The path to move the file or directory to on the local file system.
Default
false
Overwrite.
If set to false, it will raise an exception if the destination folder or file already exists.