Package to and Unpackag a .tar File
From Computing and Software Wiki
Revision as of 04:20, 19 December 2007 by 207.61.219.210 (Talk)
Package to and Unpackag a .tar File
The Unix utility tar allowing users to coalesce many files into a single file. This is especially useful when users want to transfer or distribute their files. The archive file created by tar usually indicated by the extension of .tar.
To pack files of directories into a single file, do the following:
tar -cvf NewFile.tar file1 file2 file3 ....
This will package file1, file2, file3 and other files in the file list into a single file: NewFile.tar.
To extract files from a .tar file, do the following:
tar -xvf NewFile.tar