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
Dynamic
YES
The file or directory to move from local file system.
Dynamic
YES
The path to move the file or directory to on the local file system.
Dynamic
NO
Default
false
Overwrite.
If set to false, it will raise an exception if the destination folder or file already exists.