Robocopy heads up!

bekdik

Honorary Master
Joined
Dec 5, 2004
Messages
12,860
Reaction score
20
Location
I exist only in my own mind ...
The robocopy help screen (robocopy /?) says:
/PURGE :: delete dest files/dirs that no longer exist in source.
Which implies pre-existence.

What it should say is:
/PURGE :: delete dest files/dirs that do not exist in source.
Which means that if a new file or folder is added to the destination it will be deleted, whether or not it ever existed in the source folder.

While this may appear to be trivial, it can be disastrous.
 
Top
Sign up to the MyBroadband newsletter
X