users
[Top] [All Lists]

RE: [cinjug-users] Globbing files

To: "'Edward Sumerfield'" <esumerfd@xxxxxxxxxxx>, "'CinJug'" <users@xxxxxxxxxx>
Subject: RE: [cinjug-users] Globbing files
From: "Brian McCullars" <b.mccullars@xxxxxxxxxxxxxxxxxx>
Date: Thu, 17 Nov 2005 07:37:02 -0500
Delivered-to: mailing list users@cinjug.org
Importance: Normal
In-reply-to: <006a01c5eb1d$68847fa0$6601a8c0@junior>
Mailing-list: contact users-help@cinjug.org; run by ezmlm
Organization: IT Consortium
Reply-to: <b.mccullars@xxxxxxxxxxxxxxxxxx>
 

Brian McCullars
IT Consortium  
Phone   513-475-0008
Mobile  513-505-0538
Fax     888-241-5613
b.mccullars@i-t-consortium

-----Original Message-----
From: Edward Sumerfield [mailto:esumerfd@xxxxxxxxxxx]
Sent: Wednesday, November 16, 2005 9:20 PM
To: CinJug
Subject: [cinjug-users] Globbing files

I am writing a utility that accepts a file pattern as an argument and does something with the files it finds. It is working well with a regex pattern being passed in but a glob pattern would be much more user friendly.
 
I have tried the apache oro GlobFilenameFilter but it only allows me to match against the filename and I want to do more of an ant style match "somedir/**/*.log".
 
Any ideas?
 
Ed

Attachment: LogFileFilter.java
Description: Binary data

Attachment: LogMaintenance.java
Description: Binary data

<Prev in Thread] Current Thread [Next in Thread>