Skip to main content

Move folder

Sophie avatar
Written by Sophie
Updated over a week ago

Definition and Usage

Move an existing folder into a destination folder. This command allows you to relocate folders within your file system while maintaining the folder's content and structure.


Parameter Values

Input parameters

Parameter

Description

Possible Values

Required

Options / Notes

Folder to Move

Enter or choose the full path of the folder, or a variable containing the folder, to move

-

Yes

You can use the "Select folder" button to browse for the folder

Destination folder

Enter or choose the full path of the folder, or a variable containing the folder, to be the destination folder

-

Yes

You can use the "Select folder" button to browse for the destination

If folder exists

When a folder with the same name already exists, you can choose how to handle the conflict

Skip, Overwrite, Add suffix automatically

Yes

-

Error handling

Parameter Name

Description

Throw error & stop

When an error occurs, the action will trigger an error and stop the execution of the entire app.

Retry command

If an error occurs, the action will retry the command in an attempt to resolve the issue and continue the process.

Ignore error & continue

When an error occurs, the action will be ignored, and the workflow will continue without interruption.

Variables produced

Store the moved folder path into a new variable. This will contain the final path of the moved folder after the operation is complete.


Using Variables in Conditions

You can use variables for both the source folder path and destination folder path by clicking the {x} icon. This allows you to dynamically specify folders based on previous operations or user inputs. When using variables, ensure they contain valid folder paths to avoid errors during execution.


Notes

  • Ensure you have appropriate permissions to move folders in both the source and destination locations.

  • The "Overwrite" option will preserve files in the original folder that don't have name conflicts with files in the overwriting folder.

  • Moving folders across different drives may take longer than moving within the same drive.

  • If the source folder doesn't exist, the command will fail.

  • The "Add suffix automatically" option will append a number to the folder name if a folder with the same name exists in the destination.

Did this answer your question?