Home   >>   Tar Command   >>   Tar Command Basics
Tar Command Basics PDF Print E-mail
( 0 Votes )
How To - Tar Command
Written by Christian Foronda   
Tuesday, 05 January 2010 16:48

Compress Files

    $ tar cjvf foo.tar.bz2 dir_to_archive/*

Extract Files

    $ tar -xjf archive.tar.bz2

List the contents of a tar.bz2 file

    $ tar -jtvf foo.tar.bz2 | less




blog comments powered by Disqus
Last Updated on Wednesday, 06 January 2010 08:57