Is it possible to verify that a tar archive has been extracted correctly? Like a checksum of the extracted directory?
For some reason, certain files extracted by tar are erroneously created as empty files. It would be nice to detect this, like so:
$ tar xzf foo.tgz $ <SOME_MAGIC_COMMAND> Error: foo/bar does not match file in archive