users
[Top] [All Lists]

RE: [cinjug-users] Globbing files

To: "'Edward Sumerfield'" <esumerfd@xxxxxxxxxxx>, "'CinJug'" <users@xxxxxxxxxx>
Subject: RE: [cinjug-users] Globbing files
From: "James Carman" <james@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 16 Nov 2005 21:56:11 -0500
Delivered-to: mailing list users@cinjug.org
In-reply-to: <006a01c5eb1d$68847fa0$6601a8c0@junior>
Mailing-list: contact users-help@cinjug.org; run by ezmlm
Thread-index: AcXrHWywN5hBAshOSgGx9FU77GH7UgABO0Tg

When you say “user friendly”, do you mean that users will be typing this directly somewhere in an interface or command line or do you mean that it should be easier to specify in code?

 


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

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