users
[Top] [All Lists]

Globbing files

To: "CinJug" <users@xxxxxxxxxx>
Subject: Globbing files
From: "Edward Sumerfield" <esumerfd@xxxxxxxxxxx>
Date: Wed, 16 Nov 2005 21:19:58 -0500
Delivered-to: mailing list users@cinjug.org
Mailing-list: contact users-help@cinjug.org; run by ezmlm
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>