PeggyLouBaldwin ,

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

frezik ,

You reinvented zip and didn't even know it.

Illecors ,
@Illecors@lemmy.cafe avatar

tar was nearly and adult when zip was born.

frezik ,

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".

Illecors ,
@Illecors@lemmy.cafe avatar

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.

frezik ,

Yes, I'm aware of how this works.

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

robolemmy ,
@robolemmy@lemmy.world avatar

tar cvjf compressed-shit.tar.bz2 /path/to/uncompressed/shit/

Only way to fly.

sik0fewl ,

I stopped doing that because I found it painfully slow. And it was quicker to gzip and upload than to bzip2 and upload.

Of course, my hardware wasn't quite as good back then. I also learned to stop adding 'v' flag because the bottleneck was actually stdout! (At least when extracting).

robolemmy ,
@robolemmy@lemmy.world avatar

for the last 14 years of my career, I was using stupidly overpowered Oracle exadata systems exclusively, so "slow" meant 3 seconds instead of 1.

Now that I'm retired, I pretty much never need to compress anything.

JoShmoe ,

I’m curious about the contents in your compressed shit.

  • Alle
  • Abonniert
  • Moderiert
  • Favoriten
  • random
  • linuxmemes@lemmy.world
  • haupteingang
  • Alle Magazine