bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] --keep-old-files bug


From: Gary Partis
Subject: [Bug-tar] --keep-old-files bug
Date: Tue, 22 Nov 2011 11:35:58 -0000

Hi

 

In TAR documentation it states that –keep-old-files (-k) will flag an error if a file already exists :

 

To be even more cautious and prevent existing files from being replaced,

use the ‘--keep-old-files’ (‘-k’) option. It causes tar to refuse to replace

or update a file that already exists, i.e., a file with the same name as an

archive member prevents extraction of that archive member. Instead, it

reports an error.

 

How ever, neither a warning message or exit code indicates that such an error occurred.

 

Cheers

 

Gary Partis

 


reply via email to

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