keskiviikko 15. toukokuuta 2013

Creating .tar

In computing, tar (derived from tape archive) is both a file format (in the form of a type of archive bitstream) and the name of a program used to handle such files.

I would describe tar as a zip file. It packages everything in one file. For example if I have my html page in one folder I can tar the folder in one file and then untar it somewhere else.

To create an archive of a directory and its contents you would type the following and press enter:

$ tar -cvf name.tar /path/to/directory

and to untar

$ tar -xvf name.tar

Ei kommentteja:

Lähetä kommentti