Extract only a specific file from tar.gz compression

by rajesh 2012-05-06 14:52:14

Use the following command to extract only a specific file from a tar.gz compression

tar -zxvf filename.tar.gz {filepath}


To list the files inside a tar.gz, we can use the command

tar -ztvf filename.tar.gz

Tagged in:

1332
like
0
dislike
0
mail
flag

You must LOGIN to add comments