TAR command to extract a single file from a .tar.gz
Posted
by Dr. DOT
on Server Fault
See other posts from Server Fault
or by Dr. DOT
Published on 2010-04-08T13:33:39Z
Indexed on
2010/04/08
13:43 UTC
Read the original article
Hit count: 656
Does anyone have a command syntax for extracting 1 file from a .tar.gz that also allows me to place the extracted file in a certain directory? I have Google'd this and get too many variations with a lot of forum threads stating the syntax doesn't work. Before I venture on I prefer to know the command will work because I do not want to risk overwriting files and directories already present on my server.
Thanks.
© Server Fault or respective owner