To replicate folder structure (copy only folders without files) you can use following robocopy command:
robocopy “source_folder” “destination_folder” /MIR /XF *
/MIR – mirrors source folder to destination folder.
/XF * – excludes files that match *, which means all files.
Leave a Reply