Move files within the local filesystem.

Local filesystem access is disabled by default. You must configure the plugin default allowed-paths in your Kestra configuration.

Example (Kestra config):

yaml
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"
type: "io.kestra.plugin.fs.local.Move"
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

The file or directory to move from the 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.