Hi Jean-Louis,
Thanks for the response -- I'm not clear on why these options cannot be
used together? Unless --keep-old-files effectively implies
--no-overwrite-dir already ("don't replace existing files when extracting,
treat them as errors" may imply "preserve metadata of existing
directories"). Certainly it may be the case that the first implies the
second, but the two options don't strike me as conflicting either (they
seem to say roughly the same thing).
You're right that updating tar to warn/error when conflicting options are
used; in addition I'd suggest adding text to the man-page/documentation
explaining that --no-overwrite-dir is not necessary (and is, in fact, an
error) when --keep-old-files is in-use?
Thanks!
Remi
On Mon, Aug 10, 2015 at 5:38 AM, Jean-Louis Martineau <[email protected]>
wrote:
> Remi,
>
> --keep-old-files and --no-overwrite-dr can't be used at the same time.
>
> tar should print a warning when mutually exclusive options are used
> instead of ignoring some of them,
>
> Jean-Louis
>