• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 493
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

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