tar: xx/yy/zz.java: file changed as we read it

tar: xx/yy/zz.java: file changed as we read it

Post by David Chan » Wed, 19 Apr 2006 22:58:41



Hi

Does anyone know why tar command spit out warning as below ? what does it  
tell us ?

tar: xx/yy/zz1.java: file changed as we read if
tar: xx/yy/zz2.java: file changed as we read if
tar: xx/yy/zz3.java: file changed as we read if
...

Thanks

 
 
 

tar: xx/yy/zz.java: file changed as we read it

Post by Chris F.A. Johnso » Thu, 20 Apr 2006 01:41:10



Quote:> Hi

> Does anyone know why tar command spit out warning as below ?

    Presumably because some other process modified the file while tar
    was reading it.

Quote:> what does it  tell us ?

    See above.

Quote:> tar: xx/yy/zz1.java: file changed as we read if
> tar: xx/yy/zz2.java: file changed as we read if
> tar: xx/yy/zz3.java: file changed as we read if
> ...

   Is that really what the messages say? "if"?

--
   Chris F.A. Johnson, author   |    <http://cfaj.freeshell.org>
   Shell Scripting Recipes:     |  My code in this post, if any,
   A Problem-Solution Approach  |          is released under the
   2005, Apress                 |     GNU General Public Licence

 
 
 

1. string test @(xx|yy|zz) in bash shell ?

I have this simple script which tests a string:

#! /bin/sh OR APPROPRIATE
s_str=xx

if [[ $s_str = $pattern ]]; then
    echo $s_str
fi

This works (i.e., I see the echo) in the GNU bash shell 1.14.7 for
Windows, and in the MKS Korn shell. In the pdksh of FreeBSD, it works

"if [ $s_str = +(xx|yy|zz) ]; then"
On the Apache server of my ISP, which runs GNU bash 1.14.7 under
i386-linux, I tried various combinations of:
"if [ $s_str = +(xx|yy|zz) ]; then",
but I never saw an echo.
How does it work generally in the bash shell?

And, is there a possibility to match substrings, i.e.,
match "xx" out of "123xx456"??

Thanks,
Andre

Andre van Straaten
Bradford, UK
http://www.vanstraatensoft.com

2. [PATCH] kmalloc_percpu

3. traceroute: Warning: Multiple interfaces found; using XX.YY.ZZ.QQ @ eth0 ???

4. rarpd for HP-UX 8.0

5. Changing all date fields from mm/dd/yy to dd/mm/yy

6. Apologies to SCO

7. firewall kernel: martian source 196.xx.xx.xx from 165,146.xx.xx on dev eth0 ???

8. which ghostscript files do i need?

9. Could not reverse map address xx.xx.xx.xx???

10. connection was refused when connect to xx.xx.xx.xx

11. cdrecord -> -C xx,yy question?

12. ext3: i_blocks is xx, should be yy

13. How to read file modification date (mm-dd-yy) in Korn