Command description
Moves one or more files to the target folder and returns a list of moved file paths.
| input parameters | Input parameter type | Description |
|---|
| Files to Move | str or list[str] | A file path or list of file paths to move |
| Destination Folder | str | The destination folder to move the files to |
| If File Exists | enum | Overwrite, Do Not Move |
Command Output Parameters
| Output parameters | Output parameter type | Description |
|---|
| Moved File Path List | list[str] | Moved file path list |
Edge Cases
- Files to Move can be one file path or a list. The command reports an error if any path does not exist.
- If a source path is a folder, the command reports an error. Use "Move Folder" instead.
- The destination folder is created automatically if it does not exist. The command reports an error if the destination path is an existing file.
- When a file with the same name already exists in the target location: "Overwrite" will delete the target path with the same name before moving it, "Do Not Move" will leave the source file unchanged and add the existing target path to the return list.
Generation Notes
- Move files into the destination folder. The command can create the destination folder if it does not exist.