How to make sure a .tar.gz file is valid and will uncompress correctly?

9,042

Good lads provide cryptographic checksums like MD5, SHA1 or SHA256 together with big .tar.gz files. Match the computed checksum against the original one. This is a good bet that your file is healthy (assuming the original checksum wasn't computed against a broken tarball).

Share:
9,042

Related videos on Youtube

Oliver Salzburg
Author by

Oliver Salzburg

Updated on September 17, 2022

Comments

  • Oliver Salzburg
    Oliver Salzburg over 1 year

    I have a few BIG .tar.gz files, and I want to make sure they will uncompress, but without actually doing it.

    If the file opens on "Archive Manager" on Ubuntu, and I can view it contents there, does that mean the .tar.gz will successfully uncompress when I try to?