Dave's Brain

Browse - Computer Tips - How I can make a .tar.bzip2 in one step?

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

Add a comment

Sign in to add a comment
Copyright © 2008-2017, 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.