bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] keep newer files bug?


From: Helmut Waitzmann
Subject: Re: [Bug-tar] keep newer files bug?
Date: Wed, 25 May 2005 16:18:42 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Sergey Poznyakoff <address@hidden> writes:

>To summarize: the three options --keep-newer-files, --overwrite and
>--unlink-first control the behavior of tar when extracting archive
>member over *existing* files. Their effect is as follows:
>
>   --keep-newer-files     If the file on the filesystem is newer than
>                          its archive version, preserve the filesystem
>                         version. Otherwise, unlink it and replace with
>                          the archive version.
>   --overwrite            No matter what the file timestamp is, replace
>                          it with the archive version. Notice, that
>                          replacing means unlinking old file and
>                          creating a new one in its stead.
>   --unlink-first         Same as --overwrite, the only difference being
>                          that --unlink-first tries to unlink file
>                          before opening (even if it does not exist),
>                          while --overwrite unlinks it only after
>                          opening it returns EEXIST.

What does tar do, if neither of these options is supplied?  Same as
'--overwrite'?

Thank you very much for your explanations!

Kind regards,

Helmut
-- 
Wenn Sie mir E-Mail schreiben, stellen |  When writing me e-mail, please
Sie bitte vor meine E-Mail-Adresse     |  precede my e-mail address with
meinen Vor- und Nachnamen, etwa so:    |  my full name, like
Helmut Waitzmann <address@hidden>, (Helmut Waitzmann) address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]