RoboCopy – to copy newer (recent) files first you could use the parameter /MAXAGE:n and than /MINAGE:n

/MAXAGE:<n>
specifies the maximum file age to exclude files older than n days or date ( if n < 1900 then n = n days else n = YYYYMMDD date )

/MINAGE:<n>
specifies the minimum file age to exclude files newer than n days or date ( if n < 1900 then n = n days else n = YYYYMMDD date )

Robocopy_01

Leave a Reply

You must be logged in to post a comment.