What is the date in Robocopy's /minage ?
We're looking to move some files based on the "last saved date" or just the "date" attribute as they appear to be the same. Does the /minage switch in Robocopy specify the "date" attribute as opposed to the last modified or last accessed date?
April 4th, 2012 10:01pm

Hi,

Why not run a quick test and find out?

Bill

Free Windows Admin Tool Kit Click here and download it now
April 4th, 2012 10:08pm

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

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

April 4th, 2012 10:38pm

Thanks for the information.

We'd really like to be able to key on the Date Accessed attribute most of all. The problem for us is that our weekly backups change the Date Accessed attributes on all files so that won't work.

The Date Modified (or Date Created for that matter) attribute could work except for the fact that we've got quite a few video files that get viewed from time to time but do not get Modified.

I think this is a task for managment to accept a less than optimal solution.

Free Windows Admin Tool Kit Click here and download it now
April 4th, 2012 11:16pm

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

http://blogs.technet.com/b/filecab/archive/2006/11/07/disabling-last-access-time-in-windows-vista-to-improve-ntfs-performance.aspx

Bill

  • Proposed as answer by Bigteddy Thursday, April 05, 2012 1:41 PM
  • Marked as answer by Sandy Wood Thursday, April 05, 2012 3:04 PM
April 4th, 2012 11:24pm

Thanks for the info Bill. The files we're zeroing in on are hosted on a Windows 2003 file server and do have the last access time stamped.

Free Windows Admin Tool Kit Click here and download it now
April 4th, 2012 11:39pm

Hi,

Here's some more useful information:

http://blogs.msdn.com/b/oldnewthing/archive/2011/10/10/10222560.aspx

Keep in mind that due to these factors, the last access time may not be as useful as you might think (e.g., accessing a file's property sheet will update its last access time).

Bill

  • Proposed as answer by Bigteddy Thursday, April 05, 2012 1:40 PM
April 4th, 2012 11:57pm

Yes, that's what we're finding. Almost every action seems to change the last access time.
Free Windows Admin Tool Kit Click here and download it now
April 5th, 2012 12:14am

Yes, that's what we're finding. Almost every action seems to change the last ac
April 5th, 2012 12:20am

According to my tests, "minage" and "maxage" actually refer to the date modified, not the date created.

I am posting this in case it is helpful to others.

Free Windows Admin Tool Kit Click here and download it now
October 8th, 2014 2:54pm

According to my tests, "minage" and "maxage" actually refer to the date modified, not the date created.

I am posting this in case it is helpful to others.

  • Proposed as answer by Dacota Friday, February 13, 2015 5:36 PM
  • Marked as answer by Bill_StewartModerator Friday, February 13, 2015 5:50 PM
October 8th, 2014 2:54pm

This answer is incorrect! MinAge/MaxAge refer to the MODIFIED DATE of the file, NOT creation date.
  • Proposed as answer by Dacota 17 hours 54 minutes ago
Free Windows Admin Tool Kit Click here and download it now
February 13th, 2015 12:38pm

This answer is incorrect! MinAge/MaxAge refer to the MODIFIED DATE of the file, NOT creation date.
  • Proposed as answer by Dacota Friday, February 13, 2015 5:36 PM
February 13th, 2015 8:35pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics