Man illustrationFlower illustration

Docy

Copy

Estimated reading: 3 minutes 122 views

Copy activity is used for copying file or folder.


*File nameFile name or folder name with path.
*Destination pathDestination directory for the copied files or folders.
OverwriteOverwrite if there is a file or folder with the same name.
Note: * Fields selected with are required, others are optional.

You can use the folder path as shown in the example.

C:\TempTest

You can use the file path as shown in the example.

Full name for specific file:

C:\Temp\Test.xlsx

Files that start with the initial letter a in the folder and have an extension .txt are processed in batches:

C:\Temp\a*.txt

All files in the folder with extension .xlsx are processed in batch:

C:\Temp\*.xlsx

All files in the folder will be processed in batch:

C:\Temp\*.*

All files/folders in the folder will be processed collectively:

C:\Temp\*

You can use the Destination path as shown in the example.

If you want to copy the folder with the same name to the “Test” folder only:

C:\Test\

If you want to change the name to “Trial” while copying the folder under the “Test” folder:

C:\Test\Trial

If simultaneous Rename will not be done in the copying process, make sure that the directory has “\” at the end while giving the “Destination path”.

You can use the Destination path as shown in the example.

If you want to copy the file to the “Test” folder with the same name:

C:\Test\

If you want to change the name to “newFile.xlsx” while copying the file under “Test” folder:

C:\Test\newFile.xlsx

If the destination path ends with a file separator (With a slash), the file or folder is located in that path:

C:\Temp\myFolder


Otherwise, if the destination path has the file or folder name at the end, action will be taken with renaming support:

C:\Temp\myFolder\fileWithNewName.txt

If you use unzip, add folder name:

C:\Temp\myFolder\folderName

If the “Overwrite” field’s checkbox status is:

True: If there is no file/folder with the same name in the relevant directory, the copy will be done. If there is a file/folder with the same name in the relevant directory, the old file/folder is overwritten and copied.


False: If there is no file/folder with the same name in the relevant directory, the copy will be done. If there is a file/folder with the same name in the relevant directory, it will not be copied. The function gets an error with the message that there is a file/folder already in the directory.

CONTENTS