October 4, 2008

Unpacking .tar.gz files

"To unpack a .tar.gz file, say, foo.tar.gz, use the following command:

gunzip -c foo.tar.gz | tar xopf -

The newly extracted files will be created in the current directory. If you also wish to see a list of the files as they are extracted, instead use the command

gunzip -c foo.tar.gz | tar xopft -" magma.maths.usyd.edu.au

No comments:

Post a Comment