Question Locked

program that tells me files that were not modified in 6 months

0 helpful
13 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am looking for a program/tool that can scan a large data and tells me which directories have folders that have never been modified in a year or 6 months?.. This will help me to clean up my shared drives. Any suggestions will be appreciated as my goggling did not get any results.

thanks

13 replies

by seanferd

Search by date modified, specify a range of time.

by older mycroft

http://zabkat.com/

[b]Explorer2[/b] (Explorer [i]squared[/i]) is a third-party replacement for Windows Explorer. It's main advantage over Windows Explorer is that it displays TWO directory windows simultaneously, making the moving of files much much easier since you can visualise both the source and the destination at the same time.

The default COLUMNS in each Pane are:

[b][U]NAME[/U] - [U]EXTENSION[/U] - [U]SIZE[/U] - [U]ATTRIBUTES[/U] - [U]MODIFIED[/U][/B]

[I]Edited coz I forgot the link![/I] :D

by wrigley.jenson

I'm sure you already know, but just because a file hasn't been modified for an extended period of time doesn't mean that another program or process isn't dependent on it. :)

by musebasa

What I am looking for is a program/tool that gives me a report as I am talking about 10 plus terabytes of data on windows servers. It will be impossible to perform this task by doing a search on windows. I am assuming any company that has 10 or more terabytes of data will have to use a tool to manage their file systems and keeping it from getting to unmanageable size. For me to do that I will need to look for a tool that scans the file server and spits out a report that says these directories have files that were never modified in the past 12 months. If anyone can point me to the right direction I will be more than happy to do the research and post the reply. Thanks again.

by older mycroft

I would think there is a distinction that must be levelled at this point:

No operating system should ever reach an unmanageable size unless the storage of data has been badly organised in the first place.

As time marches on, the operating system per se will not increase in size - only the stored data. Much of this stored data will NEVER BE MODIFIED but WILL BE ACCESSED on a regular basis for normal system activity.

Using a 'tool' that generates a haphazard generalistic report would not be the way that I would approach this circumstance.

As has already been stated, you run a very great risk of deleting data that is used every day.

[b]You would be far better to generate a report based on when files were LAST ACCESSED![/b]

However - even this would be susceptible to misinterpretation depending on which parts of the operating system are used the least and which the most. ;)

Typo.

by gadgetgirl

screenwipes, please, OM!

All I got in the PFMC list was the title - THAT WAS ENOUGH!!

:p :p :p

GG

Edit: especially after the "normal search function" of Seanferds... ;)

by older mycroft

I honestly wasn't aware of the misinterpretation.

Either I'm a bit of a Saddo, or perhaps it's because I'm not perturbed by the ginormous proportions possible, having lived with them since puberty. :^0

by musebasa

What you say makes sense and I stand corrected. One of the advantages of this forum is learning from thoughtful people like you. Thanks for the suggestion.

by Member 25348569

It prompts for a time in weeks and a base folder and then prints out whether the folder has been modified or not within that timescale.

It should be run with cscript and will print out a simple list of folder name and either "modified" or "unmodified".

'-------------------------------
Option Explicit

Dim iWeeksCutoff, oFSO, oBaseFolder, cFolders, oFolder, bExit

iWeeksCutoff = cInt(InputBox("Enter weeks of inactivity ",,"26"))

Set oFSO = CreateObject("Scripting.FileSystemObject")

Set oBaseFolder = oFSO.GetFolder(inputbox("Enter disk or folder to check"))
Set cFolders = oBaseFolder.Subfolders

For Each oFolder in cFolders
bExit = False
CheckFolder oFolder
If bExit Then
wscript.echo oFolder.Name & vbtab & "Modified"
Else
wscript.echo oFolder.Name & vbtab & "Unmodified"
End If
Next

Set cFolders = Nothing
Set oFSO = Nothing

wscript.quit(0)

' ------------------------

Sub CheckFolder(oCFolder)

Dim cFiles, oFile, dtModify, iFileAge, oSubFolder

If bExit Then Exit Sub
Set cFiles = oCFolder.Files
For Each oFile in cFiles
dtModify = FormatDateTime(oFile.DateLastModified, vbShortdate)
iFileAge = cInt(Datediff("WW", dtModify, Now))
If iFileAge < iWeeksCutoff Then
bExit = True
Exit Sub
End If
Next

For Each oSubfolder in oCFolder.SubFolders
CheckFolder oSubfolder
Next

End Sub

'-------------------------

Now if you want to make Old Mycroft happy - less grumpy? - replace line 38 oFile.DateLastModified with oFile.DateLastAccessed and his world will be all sparkly.

Neil :)

by musebasa

I have found a good tool "FileBoss" which does a wonderfull job of searching but it is missing two things i am looking for

1-It does not tell you who is the owner of the folders

2-It does not have a tool that will allow me to run it on multiple servers so If i install it on 100 servers i will have to connect to 100 servers and start the search manually since it can not be scheduled.

Any help will be appreciated but fileBoss does wonders...

This discussion is closed to new replies.