Solved

How to uncompress and untar a file in one command.

Posted on 2011-09-28
3
449 Views
Last Modified: 2013-11-17
How do I uncompress and untar a file below in one command?

filename.tar.Z

Thanks
0
Comment
Question by:AIX25
3 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 36717906
That's not possible with AIX tar.
Get GNU tar from perzl.org and use its "-z" flag,

wmp
0
 
LVL 48

Expert Comment

by:Tintin
ID: 36813179
OK, not one command, but doesn't require GNU tar


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

Open in new window

0
 

Author Comment

by:AIX25
ID: 36815046
Thank you Tintin for that comment.

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

Thank you
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question