I'm trying to use the option "--keep-newer files" with tar 1.15.1 and
previous.

This is the sequence of the commands and relative outputs.


$ touch test
$ tar cvf test.tar test
test


$ tar xvf test.tar --keep-newer-files
test
tar: Current `test' is newer


$ touch -d 20040505 test
$ ls -l
total 12
-rw-r--r--  1 andreap calcolo     0 May  5  2004 test
-rw-r--r--  1 andreap calcolo 10240 May  4 18:31 test.tar


$ tar xvf test.tar --keep-newer-files
test
tar: test: Warning: Cannot stat: No such file or directory
tar: Current `test' is newer
$ ls -l
total 12
-rw-r--r--  1 andreap calcolo 10240 May  4 18:31 test.tar



$ tar xvf test.tar --keep-newer-files
test
tar: test: Warning: Cannot stat: No such file or directory
tar: Current `test' is newer


Hope this will be easily fixed in a future release.
Best regards,

    Andrea Pellizzon


-- 
Andrea Pellizzon              [EMAIL PROTECTED]
Dipartimento di  Metodi e Modelli  Matematici  per le
Scienze Applicate - Universita' degli Studi di Padova



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

Reply via email to