Forum Discussion

AnkurJarial's avatar
AnkurJarial
Copper Contributor
Apr 19, 2023

Merge the content of two folders while moving or copying if their name is same.

Is there any way, or the simplest way to merge the content of two folders when their name is the same, while we are moving or copying the folder? For example, if we move a folder named "A" and there is already a folder named "A" in the destination then, the content of source folder "A" should get merged with the destination folder name "A". This can be tested in windows explorer, if you create two folders of the same name in two different locations, and then try to copy or move the folders in that location, then you will see that the data in the destination folder is a merged version of both the folder. 
How to implement this in SPFx using SharePoint APIs

No RepliesBe the first to reply

Resources