Re: Bzip2 Compress directories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, 23 Apr 2009 00:23:35 +0300
James Matthews wrote:

> How do you get bzip2 to compress directories?

use tar.

tar cvjf mydirectory.tar.bz2 mydirectory

That will tar and bzip2 the directory called mydirectory and leave you with a
file named mydirectory.tar.bz2

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux