
File system Move
CertifiedMove or rename local files
File system Move
Certified
Move or rename local files
Moves files or directories within configured allowed-paths; destination parents are created as needed.
Overwrite is false by default and directories cannot be moved into themselves.
Local access requires allowed-paths in plugin defaults.
Example (Kestra config):
plugins:
configurations:
- type: io.kestra.plugin.fs.local.Move
values:
allowed-paths:
- /data/files
yaml
type: io.kestra.plugin.fs.local.MoveExamples
Move a file within the local filesystem
yaml
id: move_file
namespace: company.team
tasks:
- id: move
type: io.kestra.plugin.fs.local.Move
from: /input/data.csv
to: /archive/data.csv
overwrite: true
Properties
from *Requiredstring
Source file or directory path
to *Requiredstring
Destination path on the local file system
overwrite booleanstring
Default
falseOverwrite existing files
If false, the task fails when the destination already exists.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.