How to copy only new files AND only those that are modified after a certain date using Robocopy

Robocopy allows to copy files from one location to another on Windows. The simple syntax to copy the folder and all its content to another location is as follows:

robocopy C:\source_folder D:\destination_folder

If we want to copy only those files that are modified after a certain date(Eg: 15 October 2018) then it can be achieved using the following syntax:

robocopy C:\source_folder D:\destination_folder /E /MAXAGE:20181015

Advertisements
Posted in Command Line | Tagged , | Leave a comment