On 2009-10-15, Rez P <[email protected]> wrote:

> How do I get the tar task to overwrite its previously created tar
> file? Please see my current target below.  I don't want to delete my
> dist folder each time and I don't see any options in the help section
> to overwrite the previous version of ShellScripts.tar.

The core tar task doesn't support this scenario, so you'd have to delete
the archive before re-creating it.

OTOH the tar task will re-create your target archive if any of the files
that would end up inside the archive are newer than the entries inside
the existing archive.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to