Chat now with support
Chat with Support

Secure Copy 7.6.3 - User Guide

Using Secure Copy Setting copy options Running copy jobs Using the command line Managing licenses Running Update Utilities Troubleshooting PowerShell cmdlets

Synchronizing multiple source paths to single target path

When synchronizing the contents of the target folder with the source folder, you can select two different methods of purging orphaned files/folders in the target. These two options on the Synchronization page work in conjunction with the Create initial source folder under target folder check box on the Copy Locations page. See Setting synchronization and Setting copy locations.

IMPORTANT: When copying multiple source paths to a single target path, any file or folder with the same name located on the root of the source paths is overwritten by the file or folder of the same name in the last source path.

The examples included in this section illustrate how these three options work together.

Scenario 1: Folders with the same name

There are two folders named sub-folder B1; one is under the source path folder (C:\folderA\) and the other is under the source path folder (C:\folderB\). The sub-folder B1 folder from the last source path (C:\folderB\sub-folder B1\) overwrites the sub-folder B1 folder from the first source path folder (C:\folderA\sub-folder B1\). The target folder then contains only one sub-folder B1 folder, which contains the files and folders from the last source path folder (C:\folderB\sub-folder B1\).

Scenario 2: Files with the same name

There are two files named testfile.txt; one is under the first source path folder (C:\folderA\) and the other is under the second source path folder (C:\folderB\). The testfile.txt file from the last source path (C:\folderB\testfile.txt) overwrites the testfile.txt file from the first source path folder (C:\folderA\testfile.txt). The target folder then contains only one testfile.txt file (\\server1\C$\testfile.txt), which is the testfile.txt file from the last source path (C:\folderB\testfile.txt).

Multiple sources example 1

Checkbox Create initial source folder under target folder

Checkbox Synchronize Target Contents with Source

\\server1\C$\

\\server1\C$\folderA\

\\server1\C$\folderB\

Because the Create initial source folder under target folder check box is selected, the source folder structure is duplicated under the target path during the copy process. When the copy process is complete:

IMPORTANT: When copying multiple source paths to a single target path, any file or folder with the same name located on the root of the source paths is overwritten by the file or folder of the same name in the last source path. See Scenario 1: Folders with the same name and Scenario 2: Files with the same name.
Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating