bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] "Cannot stat: No such file or directory" when using '--keep-ne


From: Amit Dor-Shifer
Subject: [Bug-tar] "Cannot stat: No such file or directory" when using '--keep-newer-files'
Date: Wed, 03 Jun 2009 10:47:42 +0300
User-agent: Thunderbird 2.0.0.21 (X11/20090422)

amit0 archive # tar cvzf test.tar.gz dir
dir/
dir/file

amit0 archive # tar --keep-newer-files -xzf /tmp/archive/test.tar.gz -C
/tmp/target
tar: dir: Warning: Cannot stat: No such file or directory
tar: dir/file: Warning: Cannot stat: No such file or directory
amit0 archive # find /tmp/target/
/tmp/target/
/tmp/target/dir
/tmp/target/dir/file

When I omit '--keep-newer-files', warnings do not appear:

amit0 archive # rm -fr /tmp/target/*
amit0 archive # find /tmp/target/
/tmp/target/
amit0 archive # tar -xzf /tmp/archive/test.tar.gz -C /tmp/target
amit0 archive # find /tmp/target/
/tmp/target/
/tmp/target/dir
/tmp/target/dir/file

amit0 archive # tar --version
tar (GNU tar) 1.20


Wasn't this supposedly fixed in prev. versions?

Amit





reply via email to

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