Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 483
  • Last Modified:

How to uncompress and untar a file in one command.

How do I uncompress and untar a file below in one command?

filename.tar.Z

Thanks
0
AIX25
Asked:
AIX25
1 Solution
 
woolmilkporcCommented:
That's not possible with AIX tar.
Get GNU tar from perzl.org and use its "-z" flag,

wmp
0
 
TintinCommented:
OK, not one command, but doesn't require GNU tar


uncompress -c filename.tar.Z | tar xvf -

Open in new window

0
 
AIX25Author Commented:
Thank you Tintin for that comment.

Tintin and Woolmilkporc, please look at question "ID: 27344252 "..

Thank you
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now