Page 1 of 1 1
Topic Options
#22249 - 2002-05-28 12:22 AM File dates from subdirectories
Anonymous
Unregistered


I have been looking for this on the board and haven't seen a thread that helps with what I'm looking for.

I have been asked to read files from a directory, and delete the ones older than 60 days (This is my company's solution to volume space limitations). Here's the trick though: what about sub-directories?

And, what I'm telling these people is that if you delete these peoples' files when the get old enough (with a copy of them being on tape backup), you will at least want to let them know what files have been deleted! At least this way they will be able to remember which files to request from tape if they need them.

I'm not looking for someone to write me a miracle script, I just need to know if such a hair brained idea is possible in the first place before I waste a week trying to figure out how to do it. I also need a little help digging into the subdirectories.

Top
#22250 - 2002-05-28 01:26 AM Re: File dates from subdirectories
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Take a look at this:
CleanTempFiles() - Cleans up the temporary directories (or any arbitrary directory)
DirPlus() - a recursive dir tool
DirList() - Returns an array with a list of files in a given directory
_________________________
There are two types of vessels, submarines and targets.

Top
#22251 - 2002-05-29 08:59 AM Re: File dates from subdirectories
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Kellar,

had this discussed in an unanswered thread [Frown]

Maybe this fits yer need :

Dir tools

Jochen
_________________________



Top
#22252 - 2002-05-29 04:06 PM Re: File dates from subdirectories
Anonymous
Unregistered


Thanks for the threads guys, I will have had a look and it will take me some time to get through them all ( a little slow still).
Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 641 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.052 seconds in which 0.024 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org