Replicate folder structure

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.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *