Copy or Move File
Copies, moves or renames a file on the phone.
An action in the Files group.
Its type is action.file_transfer.
Declared ports
Section titled “Declared ports”| Port | Label | Flow | Type |
|---|---|---|---|
in |
in | execution in | — |
out |
out | execution out | — |
from |
From | data in | String |
to |
To | data in | String |
state |
Result | data out | Object{changed: Boolean, path: String, name: String, error: String} |
Configuration
Section titled “Configuration”| Field | Key | Default | Notes |
|---|---|---|---|
| From | from |
— | — |
| To | to |
— | — |
| What to do | operation |
copy |
copy, move |
| If a file is already there | whenExists |
replace |
replace, keep_both, skip |