[X-Unix] strange tar behavior

Eric F Crist ecrist at secure-computing.net
Mon Mar 20 15:32:45 PST 2006


You're working with a file that has been gzipped.  You must un-gzip  
it to work with it.  The tar command is just nice enough to give you  
a way to compress the archive in one shot.

HTH

On Mar 20, 2006, at 11:14 AM, Charles Howse wrote:

> Hi,
> When I do
> $ tar cvfz bin.tgz bin
> tar finishes without error -
> $ echo $?
> 0
>
> But, when I do
> $ tar --list --verbose --file=bin.tgz
> tar: This does not look like a tar archive
> tar: Skipping to next header
> tar: Read 2804 bytes from bin.tgz
> tar: Error exit delayed from previous errors
>
> However, I can use Finder to expand the tgz file, and it looks fine.
>
> Anyone have an idea of what's going on?
>
>
> Thanks,
> Charles
> http://bubbabbq.homeunix.net
>
>
> _______________________________________________
> X-Unix mailing list
> X-Unix at listserver.themacintoshguy.com
> http://listserver.themacintoshguy.com/mailman/listinfo/x-unix
>
> Listmom is trying to clean out his closets! Vintage Mac and random  
> stuff:
>         http://search.ebay.com/_W0QQsassZmacguy1984
>

-----
Eric F Crist
Secure Computing Networks
http://www.secure-computing.net





More information about the X-Unix mailing list