1. To list contents of tar without actually extracting files.  Most useful
use-case that drove me
to add this.
2. To get a list of extracted files for eyeballing and/or validation between
expected and generated.
3. A roundabout way to list contents of a directory - user can tar and then
untar
with just verbose turned on.
4. For future needs - let's say user wants a diff of two directories - one
way is to tar contents of
these two directories separately and then diff the verbose generated by
untar without
expanding it, etc.

Magesh

----- Original Message -----
From: "Peter Donald" <[EMAIL PROTECTED]>
To: "Ant Developers List" <[EMAIL PROTECTED]>
Sent: Wednesday, November 21, 2001 3:48 AM
Subject: Re: cvs commit: jakarta-ant/src/main/org/apache/tools/tar
TarEntry.java


> Im curious what the usecase of the outfile attribute for all these
> attributes. The only thing I can think of is to help validate the contents
of
> archives match expected contents. Or is there some other reason?
>
> --
> Cheers,
>
> Pete
>
> *------------------------------------------------------*
> | "Computers are useless. They can only give you       |
> |            answers." - Pablo Picasso                 |
> *------------------------------------------------------*
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to