Moves a file to a new location and removes it from the original location.
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
Source File sourcePath | file | Required | — | — |
Destination File destPath | file | Required | — | — |
Overwrite Existing overwriteExisting | boolean | Optional | false | — |
Create Missing Folders createMissingFolders | boolean | Optional | false | — |
Output Variable outputVariable | variable | Optional | MoveResult | — |
Output
$outputVariableObjectObject describing the move result. Reference {MoveResult.destinationPath}, {MoveResult.sourcePath}, {MoveResult.sizeBytes}, {MoveResult.overwritten}, or {MoveResult} alone (resolves to the destination path).
successBooleandestinationPathStringsourcePathStringsizeBytesNumberoverwrittenBooleanpathString
Compatibility
WindowsLinuxAttendedUnattended
Related activities
Append Text File
Adds text to the end of an existing .txt file.
Copy File
Copies a file to a specified destination while keeping the original file unchanged.
Create File
Creates a new file at the specified location.
Delete File
Permanently deletes a file.
File Exists
Checks whether a file exists at the specified path.
Get File Info
Returns metadata about a file: name, size, dates, and read-only flag.