Question about robocopy MOVE vs. MOV switches
Posted on 2008-10-24
Here is the folder structure in questions:
I'm using robocopy to move files from the c:\events folder, and all of its subfolders, that have not been accessed since 1-1-2008 into the c:\EventsPre2008 folder.
Here is the command: robocopy c:\events c:\EventsPre2008 /E /Z /R:0 /MOVE /MINLAD:20080101
I'm concerned about it moving directories too (with the MOVE switch) instead of just moving files (with the MOV switch).
I'm considering using the MOV switch instead of the MOVE switch and here is why: Will it move directories (and then delete them from the source) only if all the files in that directory are moved? My concern is that it might move directories (and delete them from the source) even if only some files from a particular directory are moved. I'm sure I'm missing something here. Thanks!