Results 1 to 6 of 6

Thread: Tar.gz and tar.bz2.

  1. #1
    Join Date
    Jul 2008
    Location
    Where I am
    Beans
    807
    Distro
    Ubuntu 12.04 Precise Pangolin

    Tar.gz and tar.bz2.

    What's the difference? Tar is uncompressed. Gz and bz2 are compressed and combined into a compressed archive. What is the difference between these two compression formats?
    .i coi rodo

  2. #2
    Join Date
    Dec 2007
    Beans
    560

    Re: Tar.gz and tar.bz2.

    I thought .tar's created an archive? .gz and .bz2 are different compressions. I'm probably some what wrong.

  3. #3
    Join Date
    Jul 2008
    Location
    Where I am
    Beans
    807
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Tar.gz and tar.bz2.

    Quote Originally Posted by chris4585 View Post
    I thought .tar's created an archive? .gz and .bz2 are different compressions. I'm probably some what wrong.
    I think I misspoke.
    .i coi rodo

  4. #4
    Join Date
    May 2008
    Beans
    Hidden!

    Re: Tar.gz and tar.bz2.

    Quote Originally Posted by dragos240 View Post
    What's the difference? Tar is uncompressed. Gz and bz2 are compressed and combined into a compressed archive. What is the difference between these two compression formats?
    The latter is better, and somewhat slower, due to using a better algorithm (well, in the sense of compression ratio at any rate).

    http://en.wikipedia.org/wiki/Gzip
    http://en.wikipedia.org/wiki/Bzip2

  5. #5
    Join Date
    May 2007
    Location
    East Yorkshire, England
    Beans
    Hidden!

    Re: Tar.gz and tar.bz2.

    I have found that GZip tends to be better for plain text and Bzip2 for everything else.

    Though that's just from what I've seen; the opposite could be true.
    Website | Blog | The Arch Hurd Project

    If you want to ask about something I posted, send a PM, as I don't watch many threads

  6. #6
    Join Date
    Dec 2007
    Beans
    560

    Re: Tar.gz and tar.bz2.

    I guess I missread the question. I use tar.gz most of the time on my desktop for regular documents, but if I'm dealing with large files like 100mbs or more, I'd use lzma even though it takes longer, its worth the compression.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •