Can I untar just one file in a tar ?

Lets say I am building servers and I have the correct copies of the 20 most messed up files.

I have a problem with a server, can I untar just 1 of the 20 files ?

I am in a linux aix solaris shop.  I only want to untar to the identical platform :)
TIMFOX123Asked:
Who is Participating?
 
jeremycrussellCommented:
Yes, as long as you know the file name and path.

i.e.

tar xf file.tar path/in/tarfile/filename
0
 
TIMFOX123Author Commented:
this works !!
thx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.