I have a directory that I want to copy to another directory using Robocopy.exe.
My plan is to exclude several files from the root of the source directory. In fact, I would ONLY exclude .html files from the ROOT directory.
The trick is that I'm currently using / E, which currently causes all subfolders to be processed.
Therefore, the current result of my operation is that if I use:
/E /XF "*.html"
I am going to exclude all HTML files for the entire site.
Is there a way that I can continue to copy all subfolders, but also use XF to exclude .html files from the root?
Sort of:
/E /XF "c:\releases\website_source\*.html"