Skip to content

Move Activity

The Move activity enables users to relocate files and folders to a specified destination directory. It supports moving individual items or processing multiple items in batches.

Field Description Requirement
File name Specifies the name or path of the file or folder to be moved. Wildcards can be used for batch processing. Required
Destination path Defines the target directory where the files or folders will be relocated. Required
Overwrite Determines whether existing files or folders with the same name at the destination should be overwritten. Optional

Action Types & Examples

Overwrite

  • Format: boolean
  • Example Result: true

Implementation Examples

Field Setup - File name: - C:TempTest (Folder path) - C:TempTest.xlsx (Specific file) - C:Tempa\*.txt (Batch files starting with 'a' and .txt extension) - C:Temp\*.xlsx (All .xlsx files in folder) - C:Temp\*.\* (All files in folder) - C:Temp\* (All files/folders in folder) - Destination path: - C:Test (Copy folder with same name to 'Test' folder) - C:TestTrial (Rename folder to 'Trial' while copying to 'Test' folder) - C:Test (Copy file to 'Test' folder with same name) - C:TestnewFile.xlsx (Rename file to 'newFile.xlsx' while copying to 'Test' folder) - C:TempmyFolder (Destination path ends with file separator, file/folder located in that path) - C:TempmyFolderfileWithNewName.txt (Destination path has file or folder name at the end, supports renaming) - C:TempmyFolderfolderName (For unzip operations, add folder name)

Execution Parameters - Overwrite: true - Overwrite: false

Technical Notes

If the destination path ends with a file separator (e.g., a backslash), the file or folder is located directly within that path. Otherwise, if the destination path includes a file or folder name at the end, the action will support renaming the item.

The Overwrite parameter controls behavior when a name conflict occurs at the destination: - If Overwrite is true: If no file or folder with the same name exists in the destination directory, the move is performed. If a file or folder with the same name does exist, the existing item is overwritten and the move proceeds. - If Overwrite is false: If no file or folder with the same name exists in the destination directory, the move is performed. If a file or folder with the same name does exist, the move will not be performed, and an error message indicating the presence of an existing item will be generated.