On Thu, Nov 26, 2015 at 11:48:28 -0500, Nathan Stratton Treadway wrote:
> On Thu, Nov 26, 2015 at 17:24:11 +0800, Afriza N. Arief wrote:
> > $ tar -czf tarball.tgz folder  # failed silently (instantly returns)
> > $ tar -cf tarball.tar folder   # succeed
> > $ gzip tarball.tar             # succeed
> > $ tar -xzf tarball.tar.gz      # failed with tar: Child died with signal 11
> > $ unzip tarball.tar.gz         # succeed
> > $ tar -xf tarball.tar          # succeed
> > 
> > How does tar finds the gzip/gunzip/zcat binary to be used?
> 
> For testing purposes, you could specify an explicit compression program
> using the -I option...

Also, what does the "Compression options" section of "tar --help" show?

                                                        Nathan

----------------------------------------------------------------------------
Nathan Stratton Treadway  -  natha...@ontko.com  -  Mid-Atlantic region
Ray Ontko & Co.  -  Software consulting services  -   http://www.ontko.com/
 GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt   ID: 1023D/ECFB6239
 Key fingerprint = 6AD8 485E 20B9 5C71 231C  0C32 15F3 ADCD ECFB 6239

Reply via email to