Robocopy to copy only new folders and files
- by Valery Shampal
A task:
To find all new files and subfolders under some root folder (let us say Documents) and to copy them to other disk (j: in this case)
Command line used:
robocopy c:\users\valery\documents j:\robocopy /XO /E /MAXAGE:20131030 /XD
Result: A full folders tree created. Only new files copyed, as supposed. It's good
A point is, that I do not want to create all subfolders on a target disk, if there are no new files in them.
Results are exeptable, but there is a lot of work to go through all folders and to find new files, as well, as to understand, what subfolders are a new ones
Regards,
Valery