Question Details

Browse

instalation

By katskratch - Oct. 01, 2008

the directions seem quite clear and simple BUT how do I '1. Extract tar­file to $DOCUMENT_ROOT/Clubdata?'
Appreciate it.
Kat


Answers

Add Answer
  1. By an anonymous user on Oct. 03, 2008

    Unless I'm missing something - this is a simple tar extraction procedure using the following commands:


    tar xf archive.tar


    The x in xf means extract the contents of the archive. The f in xf tells tar to use the next parameter as the filename of the archive. This comes from tar’s history as a tape archiving application (the name tar comes from tape archive). By default, tar wants to read or write to a tape drive, thus the f parameter.


    Another couple of nice parameters to know are t and v. The t parameter is used in place of x to list a table of contents of the archive.


    tar tf archive.tar


    The v parameter can be used with x to list each file in the archive while extracting them.


    tar xvf archive.tar


    0 Votes
Share your knowledge

Related Questions

Browse Get answers and share your expertise.