Re: [Perl-unix-users] File Find

2006-02-23 Thread Carl Reynolds
Sharp, Craig wrote: I have a script that uses file::find to create a list of files within a subdirectory. Depending on the size of the directory, find can be very resource intensive. I need to find a better way to generate a list of files within a subdirectory for comparison to a time for de

Re: [Perl-unix-users] File Find

2006-02-23 Thread Anthony Ettinger
How about the command line "find ./dir -name '*.txt'" On 2/23/06, Sharp, Craig <[EMAIL PROTECTED]> wrote: > > > > I have a script that uses file::find to create a list of files within a > subdirectory. Depending on the size of the directory, find can be very > resource intensive. I need to fin

Re: [Perl-unix-users] File Find

2006-02-23 Thread Terry L. Inzauro
Sharp, Craig wrote: I have a script that uses file::find to create a list of files within a subdirectory. Depending on the size of the directory, find can be very resource intensive. I need to find a better way to generate a list of files within a subdirectory for comparison to a time for del

RE: [Perl-unix-users] File Find

2006-02-23 Thread Wagner, David --- Senior Programmer Analyst --- WGO
    Then do a opendir and readdir instead of the file::find.   Wags ;) -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Sharp, CraigSent: Thursday, February 23, 2006 12:26To: perl-unix-users@listserv.ActiveState.comSubject: [Perl-unix-use

[Perl-unix-users] File Find

2006-02-23 Thread Sharp, Craig
I have a script that uses file::find to create a list of files within a subdirectory.  Depending on the size of the directory, find can be very resource intensive.  I need to find a better way to generate a list of files within a subdirectory for comparison to a time for deletion.   TIA