ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oscar Farga" <os...@mss.es>
Subject Selecting a file
Date Thu, 05 Dec 2002 08:44:19 GMT
Hi,

 We need to process the "newest" files which names' contain a determined
number of patterns and discard the rest. In example, we have a folder
that may contain several files:

 

EMD_ES_20021201_120301.xml

EMD_ES_20021201_143401.xml

EMD_ES_20021204_120301.xml

OK_ES_20021201_120301.xml

OK_ES_20021201_143401.xml

OK_ES_20021204_120301.xml

 

In this case I would like to process only the EMD_ES_20021204_120301.xml
and  OK_ES_20021204_120301.xml

files. 

What should I use in order to select the file? Regexp?

Thanks

 

Oscar

 

 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message