This was a great one. Thanks!
-----Original Message-----
From: Ben Scott [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2008 11:22 AM
To: NT System Admin Issues
Subject: Re: Find Recently Modified Files
On Wed, Nov 5, 2008 at 11:24 AM, Martin Blackstone
<[EMAIL PROTECTED]> wrote:
> I'm looking for something other than Windows search that will show me
files
> modified in the last X days.
Try this:
GFIND -daystart -type f -a -mtime -2
where "GFIND" is the GNU "find" utility, ported to MS Windows.
Available from http://unxutils.sf.net, amongst others.
-daystart = compares from 12:00:00 AM, rather than right-this-second
-type f = files (no directories)
-a = and
-mtime -2 = modified time, 2 days ago, or newer
-mtime 2 = would give files modified *exactly* two days ago
-mtime +2 = would give you files modified older than two days ago
There is also "-mnewer", which will find files newer than a given file.
-- Ben
~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~
~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~