File system Move

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

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

Source file or directory path

Destination path on the local file system

Defaultfalse

Overwrite existing files

If false, the task fails when the destination already exists.

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