Tar an gzip together, but the other way round?

Posted by Boldewyn on Super User See other posts from Super User or by Boldewyn
Published on 2010-05-19T20:13:48Z Indexed on 2010/05/19 20:20 UTC
Read the original article Hit count: 186

Gzipping a tar file as whole is drop dead easy and even implemented as option inside tar. So far, so good. However, from an archiver's point of view, it would be better to tar the gzipped single files. (The rationale behind it is, that data loss is minified, if there is a single corrupt gzipped file, than if your whole tarball is corrupted due to gzip or copy errors.)

Has anyone experience with this? Are there drawbacks? Are there more solid/tested solutions for this than

find folder -exec gzip '{}' \;
tar cf folder.tar folder

© Super User or respective owner

Related posts about archiving

Related posts about tar