this post was submitted on 06 Jun 2024
929 points (99.0% liked)

linuxmemes

20463 readers
359 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 2 months ago (1 children)

most of the things i want to send around my network in archives are already compressed binary files, so i just tar everything.

[–] [email protected] 3 points 2 months ago (1 children)

You reinvented zip and didn't even know it.

[–] [email protected] 1 points 2 months ago (1 children)

tar was nearly and adult when zip was born.

[–] [email protected] 1 points 2 months ago (1 children)

See my reply here: https://midwest.social/comment/10257041

The two aren't really equivalent. They make different tradeoffs. The scheme of "compress individual files, then archive" from GP is what zip does. Tar does "archive first, then compress the whole thing".

[–] [email protected] 1 points 2 months ago (1 children)

The link does not load for some reason, but tar itself does not compress anything. Compression can (and usually is) applied afterwards, but that's an additional integration that is not part of Tape ARchive, as such.

[–] [email protected] 1 points 2 months ago

Yes, I'm aware of how this works.

The important point is that zip and compressed tarballs have overlapping but not identical purposes.