Sergey Poznyakoff <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>, (Helmut Waitzmann) [EMAIL PROTECTED]


_______________________________________________
Bug-tar mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-tar

Reply via email to