• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 656
  • Last Modified:

Last File Access report for large data store

I have several large data stores containing between 500k and 1M files.  We want to clean them out based on Last Access date on the files and folders.  Searching just the folders would be better since there are far fewer to deal with.  I tried a program called Treesize but it choked just on the number of files/folders.  The server version just did not work very well.  All of the solutions that I have seen in experts-exchange have been geared toward programers and I am not one.

I am looking for someone to suggest a program with a simple interface to assist us in doing our seach for old files.  Simpler is better since I am hoping to pass the task off to one of our office staff that does not do "tech".

Thanks!
0
macwalker1
Asked:
macwalker1
2 Solutions
 
BigSchmuhCommented:
LastAccess field is difficult to use because as soon as you "use" the file (Moving it to another folder for example), the LastAccess timestamp gets updated.

Some NTFS related API should allow to read the file properties without touching this LastAccess timestamp.
I think that the classic "FindFirstFile" API may do that.

Anyway, I did not find any existing tool to do what I think you need.
==> This means you have to become a developer or find one ...

Basically, I would ask a developer for :
-Consider moving files from the active folder tree to an inactive folder tree with the same structure (where the LastAccess timestamp will be "lost" after the Active->Inactive move)
-Take care of not flooding the inactive storage volume (means a minimum of "error handling")
-Look for some programs that allows folder combination (Your Startup folder is a combination of a "All users" and "Personal" folders)
0
 
Davis McCarnOwnerCommented:
DIR <drive:\folder>\*. /OD /T:A /S >> report.txt will generate a text file of all of the folders (+any files with no extent, sorry) sorted by their last access date.
Or here is a link to an Excell Macro plus a reference on the DIR options: http://en.kioskea.net/forum/affich-162585-get-filenames-timestamps-batch-file
0
 
macwalker1Author Commented:
Thanks for all the help, still working on this!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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