College of Arts and Sciences

Department of Mathematics

Tar

You may archive many files into one file using the tar command.
Initially, tar archives were used to store files on magnetic tape. Tar stands for tape archive. An online manual is available at www.gnu.org/manual/tar/index.html.

  1. To tar something up:
    tar -cvf (whatever name you wish).tar (Here you place the filename or directory you wish to tar. Put spaces between the filenames).
  2. To extract (or unpack) the contents of a tar archive:
    tar -xvf (the name of the file).tar
Department of Mathematics, PO Box 643113, Neill 103, Washington State University, Pullman WA 99164-3113 Phone: 509-335-3926 Fax: 509-335-1188 Contact Us