How to uncompress tar.bz2 files in the command line 1

Posted by Sheldon Finlay on May 28, 2009

I confess that I can never remember the syntax for this myself. I know there is a j and an x flag in there somewhere. So I’m adding this for myself as much as for everyone else who can’t keep this syntax straight.

  tar -jxvf filename.tar.bz2
Trackbacks

Use this link to trackback from your own site.

Comments

Leave a response

  1. Dean Hall Mon, 11 Jan 2010 15:26:07 UTC

    Just a note: If you want to preserve file permissions, use the “-p” flag, though I recommend using this as a non-root user. Also, if you prefer not to see a huge list of files scroll by, drop the “-v” flag.

Comments