Dave's Brain

Browse - computer tips - make bzip2 tar file

Date: 2011jul12
OS: Linux

Q.  How I can make a .tar.bzip2 in one step?

A.  Use the newish j option of tar like this:

	tar cvfj MyArchive.tar.bz2 MyTree

And to extract:

	tar xvfj MyArchive.tar.bz2

What this info useful to you? You can donate to say thanks

Add a comment

Sign in to add a comment
Copyright © 2008-2012, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.
Advertisements: