Hi James,
I'm a great believer in learning by doing, so here's a few pointers for
you to start with.
have a look at opendir, closedir and readdir for the directory access
have a look at time and stat to get/compare timestamps
all are documented in the 'man perlfunc' man page
Gary
On Tuesday 24 April 2001 12:40 pm, France, James wrote:
> > I am trying to create a script which will delete certain files which
> have names which are partially known and are older than 2 days old.
> Is there anything that can be done easily and quickly. The files I'm
> trying to delete are on an NT server.
>
> I know the first part of the filename and the extension. the rest of
> the filename is a sequence number which changes everytime it creates
> a new file.
>
> James D. France
> UPMC Health System
> Information Systems Division
> Email: [EMAIL PROTECTED]
> Phone: 412-647-0790
> Fax: 412-647-5961
--
Gary Stainburn
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000