this post was submitted on 05 Jun 2024
225 points (97.1% liked)

Showerthoughts

29805 readers
1362 users here now

A "Showerthought" is a simple term used to describe the thoughts that pop into your head while you're doing everyday things like taking a shower, driving, or just daydreaming. A showerthought should offer a unique perspective on an ordinary part of life.

Rules

  1. All posts must be showerthoughts
  2. The entire showerthought must be in the title
  3. Avoid politics
    • 3.1) NEW RULE as of 5 Nov 2024, trying it out
    • 3.2) Political posts often end up being circle jerks (not offering unique perspective) or enflaming (too much work for mods).
    • 3.3) Try c/politicaldiscussion, volunteer as a mod here, or start your own community.
  4. Posts must be original/unique
  5. Adhere to Lemmy's Code of Conduct

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

Why isn't everyone using .7z ?

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

Because gzip and bz2 exists. 7z is almost always a plugin or addon, or extra application. While the first two work out of the box pretty much everywhere. It also depends on frequency of access, frequency of addendum, size, type of data, etc. If you have an archive that you have to add new files frequently, 7z is gonna start grating on you with the compression times. But it is Ok if you are going to extract very frequently from an archive that will never change. While gz and bz2 are overall the “good enough at every use case” format.

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

7z can be at least decompressed in macOS & FreeBSD out of the box.

On windows tar.bz/gz/xz unpacks to tar and then to actual files. As tar is a separate archive format

[–] [email protected] 1 points 5 months ago* (last edited 5 months ago) (1 children)

Windows having tar.gz support is great.

I have scripts for generating log bundles on user computers and sending to a share. tar.gz is great for compressing ~2.5GB text to send over VPN, and then I can open the .tar.gz direct from the network drive with minimal additional delay opening a 500MB text file inside.

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

I still prefer 7z for compression

[–] [email protected] 2 points 5 months ago* (last edited 5 months ago)

For archiving/backupping *NIX files, tar.whatever still wins as it preserves permissions while 7z, zip and rar don't

Oh, and while 7z is FOSS and supported out of the box on most Linux desktop OSes and on macOS, Windows users will complain they need to install stuff to open your zip. Somehow, tar.gz is supported out of the box on Linux, macOS, and yes Windows 10 and 11!

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

Because .7z was a pain in the ass back in the day while .rar just worked.