Copying Directory Structures without Files


I am in the process of uploading huge amount of files and folder structure to SharePoint libraries using OneDrive client. for this work, I need to refer to the existing file share structure many times without having to copy terabytes of data.

Here is my little utility code:

robocopy D:\Egnyte D:\TargetEgnite /e /xf *

Resulting Folder Structure:

folderstructure