Re:The Command Line Murders
by gnaritas on Friday January 29, 2016 @10:58AM
(#10995903)
Zip doesn't mean windows, lots of us Linux people don't like tar.
[ Parent
| on HN ]
Re:The Command Line Murders
by FullyFunctional on Friday January 29, 2016 @03:16PM
(#10998151)
Lots of us Linux people don't like Zip, so?
To point out the obvious, Zip compresses files individually and then bundles them. A .tar.{Z,gz,bz2,xz,...} files bundles the files and then compresses them. The latter is better for entropy reduction, the former is better for random access. It all depends on your objectives.
Of course, but that's entirely beside the point; my comment was on the author assuming zip implied a windows user, it does not. Zip is ubiquitous on all OS's which is why github offers zip.
Re:The Command Line Murders
by CamperBob2 on Saturday January 30, 2016 @12:50AM
(#11000721)
What always leaves a puzzled look on my face (as a Windows user) is .tar.gz. What does .tar do in the case where there's nothing but a single gzipped file being archived?
Re:The Command Line Murders
by FullyFunctional on Thursday February 04, 2016 @10:35PM
(#11039233)
Preserves the permission, user, group, time-stamps, and complete original name and path. Granted, there's a small overlap with what gzip also provides, but a tar file is as close to the original as you generally gets. Oh, and exotic: support for sparse files (if enabled).