Move a file somewhere else, removing it from where it was
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
Add text to the end of a text file
Copy File
Copy a file somewhere else, leaving the original where it is
Create File
Create a file, with or without starting text in it
Delete File
Delete a file for good. It does not go to the Recycle Bin
Download from URL
Download a file from a web address and save it to your computer
File Exists
Check whether a file is there