On AIX 6.1 without GNU Tool
installed I have a .tar.gz
file.
On Ubuntu I would use the very useful command :
tar xzf myfile.tar.gz
but in this case the z
switch is not possible.
I do remeber a long time ago a way to use gzip | tar
but I really can't remember.
Can someone help me with that with a command that could work on almost every system even oldfashion unix ?
gzcat
command, so you can dogzcat myfile.tar.gz | tar xf -
, but really old ones might not have any gzip components installed at all. – Mark Plotnick Feb 05 '14 at 10:22