<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Tar (computing) - Page 23 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=tar_(computing)&amp;p=22">1.Previous</a><br />
<a accesskey="3" href="page.php?w=tar_%28computing%29&amp;p=24">3.Next</a>
</p>

<p><big> Basic usage </big></p>
<p>Create an archive file  from the file  and directory :<syntaxhighlight lang="console">$ tar -cvf archive.tar README.txt src</syntaxhighlight></p>

<p>Extract contents for the  into the current directory:<syntaxhighlight lang="console">$ tar -xvf archive.tar</syntaxhighlight></p>

<p>Create an archive file  from the file  and directory  and compress it with <a href="page.php?w=gzip">gzip</a> :<syntaxhighlight lang="console">$ tar -cavf archive.tar.gz README.txt src</syntaxhighlight></p>

<p>Extract contents for the  into</p><p>
<a accesskey="1" href="page.php?w=tar_(computing)&amp;p=22">1.Previous</a><br />
<a accesskey="3" href="page.php?w=tar_%28computing%29&amp;p=24">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
