> -----Original Message-----
> From: Kasparek, Bernadette [mailto:[EMAIL PROTECTED]
> Sent: Saturday, 21 January 2006 12:01 AM
> To: '[email protected]'
> Subject: How to exclude files with same pattern except one
>
> 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"
> basedir="dist"
> includes="index_99999950*"
> excludes="index_*"
> />
Havn't tried this but what happends if you just do:
<tar desfile="test.tar"
basedir="dist"
includes="index_99999950*" />
/Steve.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]