Elwood C. Downey <[EMAIL PROTECTED]> ha escrit:

> I have a directory that contains some files. I have a tar file that
> contains many of the same files but not all and some are newer and
> some are older than the existing files. For files that exist both
> already and in the tar, I want to replace only the ones from the tar
> that are newer than the existing files. I use --keep-newer-files for
> this and it works fine /except/ if the file does not already exist
> then it is not restored at all. I would expect that if the file does
> not already exist it can not be newer and so the file would be
> created.

Please try a newer version of tar. This bug has been fixed in version
1.16. The latest stable version is 1.19.

Regards,
Sergey


Reply via email to