Extract only a specific file from tar.gz compression
by rajesh[ Edit ] 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