Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

OS: Windows 7 64-bit

Here's a hypothetical problem: there's a folder with multiple sub-folders (which themselves may have sub-folders and so on). A program creates/modifies files in any of these folders say at time t=YYYYMMDDHHMM. Is there are simple command to search for all the files created/modified after time t?

share|improve this question
up vote 16 down vote accepted

Take a look at how Advanced Query Syntax works.

Try something like modified:>YYYY-MM-DD hh:mm:ss or datemodified:>YYYY-MM-DD hh:mm:ss

Ranges work like this: datemodified:‎YYYY-MM-DD hh:mm:ss .. ‎YYYY-MM-DD hh:mm:ss

There's also support for various other properties, Boolean operators etc.

(Note that date and time formats may differ according to your locale, system settings and so on.)

share|improve this answer
    
Perfect! That's what I was looking for. – Shashank Sawant Oct 16 '12 at 4:28
    
I was looking for something that identifies only files modified in the last hour (no matter when typed in), but date:today type:file seems to be the best it could offer. – Marcos Apr 24 '15 at 12:13
    
@Marcos: Yes, but if you specify the exact time range it does work. – Karan Apr 24 '15 at 20:04
    
@Karan can you tell me why neither of these work? System.DateModified:>2016-01-04T05:00 and System.DateModified:<2016-01-04T05:00. It is supposed to be January 4, 2016 at 5 AM. I added a > because I thoughts how you after the date and time listed. – cokedude Jan 4 at 10:16
    
@Karan I looked at this guide and it said you could do : YYYY-MM-DDThh:mm:ss. msdn.microsoft.com/en-us/library/bb266512%28VS.85%29.aspx – cokedude Jan 4 at 10:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.