Results 1 to 5 of 5

Thread: Gzip problems ever?

  1. #1

    Default Gzip problems ever?

    Dear all.
    Today I was backing up my windows data using the program called toucan (free-portable program).
    For the backup process I had three options

    zip
    7-zip
    gzip compression.

    I have heard for my windows friends that sometimes zip files lose tree structure whatever that means. Thus I have selected the gzip compression. Even though the gzip runs in a windows host, have you ever heard that gzip has any kind of problems with big tree structures or big files?

    Did you ever had any problems with your compressed files in linux (in terms of recovering them back?)

    Regards
    Alex

  2. #2
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,079

    Default Re: Gzip problems ever?

    On Mon, 04 Apr 2011 21:36:02 +0000, alaios wrote:

    > Did you ever had any problems with your compressed files in linux (in
    > terms of recovering them back?)


    gzip is a single file compression tool - so you'd combine it with
    something like tar in the *nix world.

    Data corruption can happen with any file format, though.

    Jim



    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  3. #3
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,873
    Blog Entries
    3

    Default Re: Gzip problems ever?

    As far as I know, gzip is just a compression algorithm for single files or streams of data. It doesn't know anything about tree structures. Presumably, the software is using something else to map the tree structure into a linear stream of data.

    In my experience, gzip has been quite reliable, including for big files.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  4. #4

    Default Re: Gzip problems ever?

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    ZIP is not an option for me because of its limitations regarding file
    size. Working with files in the 2+ GB range is not possible with the main
    ZIP standard, though tools like pkzip and winzip have come up with their
    own, non-interoperable and non-standard, ways of doing it (so a pkzip file
    where a 2+ GB file is zipped is not going to be interoperable with winzip,
    and vice versa). gzip is a stream editor and so will compress things as
    long as there is a stream and I doubt it has a limit. tar is used for
    bundling multiple files together into one stream for gzip (or bzip2, or
    whatever else) and I haven't seen it care about sizes or tree structures
    either. As Jim mentions, corruption can happen anywhere but it should be
    detected... not just lost and then glossed over.

    Good luck.





    On 04/04/2011 03:36 PM, alaios wrote:
    >
    > Dear all.
    > Today I was backing up my windows data using the program called toucan
    > (free-portable program).
    > For the backup process I had three options
    >
    > zip
    > 7-zip
    > gzip compression.
    >
    > I have heard for my windows friends that sometimes zip files lose tree
    > structure whatever that means. Thus I have selected the gzip
    > compression. Even though the gzip runs in a windows host, have you ever
    > heard that gzip has any kind of problems with big tree structures or big
    > files?
    >
    > Did you ever had any problems with your compressed files in linux (in
    > terms of recovering them back?)
    >
    > Regards
    > Alex
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.15 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

    iQIcBAEBAgAGBQJNmkNCAAoJEF+XTK08PnB5vaMP/0Szgqj0FV54L8FdqtU+tnP8
    fOFLRYtWdl6oux38oTRzaepnsIXDs6iBZiwt58gjEu8YJYsuAa6FGueTbihczD+2
    b5q+AkBZziS30G6yld1mPzpdg+5MjqHnCypj0IgFXq2g+diU8NrTAEJnnyiA6kKi
    Tfukibh4twcxbB/qGs0XyBYb9Kit2hnsPKXfwqIuHUJaFJk0ZCwrkLqcIOp12lpy
    XPqX9Sl5GSKkkJfdvZ/xAqN/ySAiFQclJUNmjOEmqkCZl2ZDM98hrzlewH4hwc3z
    3I0oJO/CDZngssS0KwUG/nQ3MRjIX5BRpc+kY3RHTy1hMxBj4zs7ndWtIi4Lgkua
    DKkB9l3iaXaJH63agarwJ8TwmjRCd74Pha/UJ40QCG2jwgdyXHKTnRjH+T+V0tVG
    QJGPTPJqxmHcl7W56kpj2K07NZwZhQXknmLhvqAQoCPyZ7SJsE/g81qLV8O0/8e8
    3qFFLwOEX/jY+U6DgG5A86jaQNv/5d/hMK9TJPA1NObUIIL9Ubyw0sgEQBANu7Sz
    QqHaL7vxeQqMvMpVZSC89Pcz58JCwMCaavrwE0SkCDDkCZpMfqlA5hnc7mO8MRK5
    //HlizVQWjAqdpoeZLcuCHXwd4t3wCw2V5nJEqAXsuufGLlR9qNKE1U3gQaBcM7I
    AWyY1SHGG6ACNXrbpvTL
    =wQam
    -----END PGP SIGNATURE-----

  5. #5

    Default Re: Gzip problems ever?

    Thanks a lot.
    all answers were great

Posting Permissions

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