FileMoveValve

Valve to move a file.

Valve operates on the Current Item Set and will process all items surviving the common item filtering rules.

Properties

Name Description Default value Mandatory Supports property expansion
path The path of the file to move. Yes Yes
dest The destination path Yes Yes
overwrite_existing Flag controlling what to do if destination exist false No No

Example Configuration

{
    "name": "FileMoveValve",
    "config": { 
        "path":"C:\\Windows\\Temp\\file.txt",
        "dest":"C:\\Users\\{{item.username}}\\file.txt",
        "overwrite_existing" : "true"
    }
}

Requirements

Item set must have at least one entry.