![]() E – recursively copy sub-directories, including empty ones. Robocopy c:\this_folder d:\that_folder /E /XC /XN /XO This can save a lot of time particularly if you have to copy many large sized files. To exclude existing files from the copyĪ really good tip taken from this GitHub link: Robocopy c:\this_folder\a d:\that_folder\a /Eĥ. Use the E/ switch to copy the entire directory tree under c:\this_folder\a Robocopy creates the d:\that_folder\a directory and copies the files from the c:\this_folder\a directory into it. To copy the contents of an entire directory Robocopy c:\this_folder d:\that_folder *.txtĤ. Robocopy c:\this_folder d:\that_folder file1.txt file2.txtģ. ![]() Robocopy c:\this_folder d:\that_folder file.txt
0 Comments
Leave a Reply. |