var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: How to extract a single file from a tar file
I have a tar file that contains huge number of files with huge file sizes. I don't want to extract all the files becoz of disk space issue . I want to retrieve a single file from it .
can any one tell me how to get that particular file say the file name is abc_pqr_xyz.une
I want a single command that gets the file required .
note:- assume that file extracted to be placed in the same directory of tar.
Appreciate your quick reply
just specify the path and filename as it is in the tar file
If not shure about path name
tar tvf thetarfile | grep abc_pqr_xyz.une
This is also one of the ways to extract a particular file from tar
$tar -xvf <TarFileName> <FileNameToBeExtracted>