3

What attribute does Robocopy look at when applying the MINAGE and MAXAGE flags? Date created or updated? If a group of files is created and later one of them is updated, if I run Robocopy with a later date range will the updated file be copied?

1
  • have you considered changing which answer is accepted, given the currently accepted answer is incorrect?
    – sparrowt
    Jan 14, 2019 at 10:26

2 Answers 2

1

According to this Technet thread:

minage and maxage refer to the creation date of the file.

minlad and maxlad refer to the last write time of the file.

Note that on later versions of Windows (I think vista and later), last access time stamping is off by default to improve performance.

1
  • 3
    This answer is incorrect, and the Technet thread it links to is incorrect. minage and maxage refer to the Modified Date of the file, as also shown by the answer from @sparrowt
    – Doug S
    Feb 12, 2015 at 22:45
8

There is confusion here and elsewhere, I believe the following is correct:

  1. minage and maxage actually refer to the last modified date of the file (not creation date)

  2. minlad and maxlad actually refer to the last access date of the file.

Sources for the above:

  1. I tested minage with robocopy on Windows 7, and it used last modified date, not creation date. Also backed up by this Technet thread and this thread too.

  2. The robocopy documentation says that minlad & maxlad are the access date.

1
  • 1
    This is the correct answer. minage and maxage refer to the Modified Date of the file.
    – Doug S
    Feb 12, 2015 at 22:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .