Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scripting help... get list of files with owner and date
Message
De
27/03/2006 15:54:01
 
Information générale
Forum:
Windows
Catégorie:
Administration & Sécurité
Divers
Thread ID:
01108105
Message ID:
01108129
Vues:
14
Hi Alex,

AFAIK it could be done in .NET using File Watcher mechanism. Unfortunately, I don't know the specifics, so you may try to google on these keywords and also ask in .NET forum here assuming .NET is an option.

>My boss asked me to: 'find any files that have been written to a folder since yesterday that are bigger than 1 MB so I can go and yell at their owners to remove them'.
>
>The idea is to check on a daily basis (or weekly) for big files that shouldn't be in our share folders. We have a mix of W2K, XP and W2K3 servers and workstations.
>
>I've been looking at different programs for this like:
>
>Jam-Software TreeSize - http://www.jam-software.com/treesize/index.shtml
>AvniTech Solutions ShowSize - http://showsize.com/?did=tcw
>
>But I have come to the realization that this should be somewhat easy to script:
>
>Get list of files including ownership, written date, full path
>Parse the list to show files > 1 MB AND Date > yesterday's date
>
>Problem is, I have no idea of how to tackle this... Do we have scripters around? If so, would you mind giving me some pointers? Is there a better forum/category for this?
>
>
>Thanks in advance!
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform