Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3397
  • Last Modified:

How to find files by specific date



Question: This should be simple, but I do not know how to do it.  How do I get a list of files on SBS2003 that have been created after a specific date.  I then want to take that list and copy these files to our new file server.
0
jonelr70115
Asked:
jonelr70115
  • 2
2 Solutions
 
Joseph DalyCommented:
This can be done using microsoft's robocopy utility. You will want to use the /minage switch.

More description can be found here
http://ss64.com/nt/robocopy.html
0
 
Joseph DalyCommented:
Actually I was alittle backwards in my post. You want to use the /maxage switch. This way you will only copy files newer than the date you specify.
0
 
lmoore101Commented:
The built in Windows search can do this.  Start>Search
Enter the file name or *.* for all files
Choose the "Look in path"
Click "When was it modified?"
Click "Specify dates" and enter the date range
Click "More advanced options"
Make sure to check Search system folder and hidden files if necessary.
Click "Search subfolders
Click "Search"

This should list all files that were created in the range you selected.  The files could then be copied to another folder or server.

If you wanted to script the file/folder copy use robocopy.exe.
robocopy.exe source destination /s /z /r:1 /w:5 /maxage:n
n can equal # of days "90" or n can equal a specific date entered as YYYYMMDD

Good luck!
0
 
jonelr70115Author Commented:
Both solutions will work, but the built-in Windows search is the simpler of the two choices for what I want to do.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now