ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kasparek, Bernadette" <>
Subject How to exclude files with same pattern except one
Date Fri, 20 Jan 2006 13:31:10 GMT
Hi everybody,

I've the following problem:
I've got a list of some hundred files with pattern "index_xxx*".
Now I want to pack only the files with pattern "index_999*" (about 6
instances) all others should be excluded.

I tried the following:
<tar desfile="test.tar"

The problem is that in the basedir are additional files with other pattern
which shall also be packed.

Thanks for your help,


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