this post was submitted on 08 Apr 2025
336 points (96.7% liked)

linuxmemes

24389 readers
383 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     
    top 33 comments
    sorted by: hot top controversial new old
    [–] [email protected] 64 points 5 days ago* (last edited 5 days ago) (3 children)

    zip is better than tar.gz for some applications though.

    notably, individual files can be read from a zip archive without unpacking the whole archive, different than tar.gz files.

    tar.gz files are only better if you pack and unpack the whole archive at once, but even then, they don't have much advantage. the major advantage is that you can pipe the output of tar creation over the network to another computer who decompresses the tar immediately, thus transferring a folder. zip has index at beginning/start, so it requires seek when writing or skip when reading, so it can't be streamed.

    [–] [email protected] 14 points 5 days ago

    One thing that I find useful is that you can do --filesync with an existing zip, which means it only updates the files if the date/size don't match. This saves a bunch of time on large archives that don't need to be created from scratch every time.

    [–] [email protected] 10 points 4 days ago

    But afaik with many files in an archive a tar.gz manages higher compression ratios since each file isn't compressed individually. It probably isn't relevant unless archiving a large amount of data though.

    Does .zip have other advantages though? I don't often need just one file from an archive anyway.

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

    Where does 7z fit into all of this?

    [–] [email protected] 18 points 5 days ago

    I think that also works like a zip

    [–] [email protected] 48 points 4 days ago

    honestly most of the time if I'm sending an archive, my main goal is to bundle the files, not ideal compression. zip is the most compatible format

    [–] [email protected] 41 points 5 days ago (2 children)
    [–] [email protected] 36 points 5 days ago (3 children)

    Oddly, Windows can natively handle .tar.gz now. Found that out the other day.

    [–] [email protected] 15 points 5 days ago (2 children)

    Probably part of that Windows Subsystem for Linux

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

    At what point is windows just gonna become Linux with a proprietary frontend.

    [–] [email protected] 14 points 5 days ago (2 children)

    That idea has been thrown around A LOT.

    I don't think it'll ever happen tbh

    [–] [email protected] 6 points 4 days ago (1 children)

    That’s definitely not going to happen. One of the few things Windows is doing right is backwards compatibility. Have 30 year old exe? It usually just runs fine. In my experience a lot of business logic relies on this compatibility. It would be stupid from a business standpoint to break this compatibility. It would upset a lot of paying customers.

    But wait a second. I’m speaking about Microsoft. All we wanted was a Windows 7 with a modernized GUI. And we got Windows 10 with Cortana, multiple Control panels, redundant settings that contradicted each other. We got Windows 11 with ads everywhere, Copilot, enforced MS accounts and so on.

    It would perfectly make sense to switch to Linux. They could fire a lot of devs. I’m sure they would save a lot of money for a couple of seconds.

    Obviously they don’t give a shit about customers, so this sounds like a normal thing Microsoft could do for short term gains.

    [–] [email protected] 3 points 4 days ago

    All we wanted was a Windows 7 with a modernized GUI.

    What? No, keep it the same but keep on supplying security patches. The whole "modernized GUI" was what gave us the wonderful new GUI of Windows 8!

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

    MS: you mean we can fire 95% of the windows devs, and nerds on the internet will just do the work for us?

    MS: we love Linux now!

    E: stonks πŸ“ˆ

    [–] [email protected] 5 points 4 days ago

    They'd lose their moat overnight, not gonna happen

    [–] [email protected] 7 points 4 days ago

    No, they just include libarchive in Windows

    [–] [email protected] 6 points 4 days ago

    It also came with tar preinstalled in cmd for a while before supporting it in their GUI.

    [–] [email protected] 1 points 4 days ago

    Yeah, but it's a two step process. You first unpack the gz, than unpack the tar

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

    It can always be a weird self-extracting shell script.

    [–] [email protected] 9 points 5 days ago

    I never trusted those

    [–] [email protected] 9 points 4 days ago (2 children)

    Bc Linux is a .tar nation?

    [–] [email protected] 3 points 4 days ago

    Thanks, i didnt see that. Love it

    [–] [email protected] 26 points 5 days ago

    Just as long as it isn't a .rar.

    [–] [email protected] 13 points 4 days ago (1 children)

    Not sure what the issue with zip files is? They're supported on basically every device and afaik are not a proprietary format or anything. Seems better to me than rar or 7z. Tar.gz is also fine, but * don't really see why one would care

    [–] [email protected] 12 points 4 days ago

    I think it's a pun. What in tarnation

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

    Mm zips :3

    I've had quite a few, cause a lot of mods for games come in zip files x3

    [–] [email protected] 10 points 5 days ago

    see my comment above; it's way more efficient to read individual files out of a zip archive.

    [–] [email protected] 9 points 4 days ago (1 children)

    What am I missing? What's wrong with zip? Should tar.gz be used instead?

    Anti Commercial-AI license

    [–] [email protected] 26 points 4 days ago* (last edited 4 days ago) (1 children)
    [–] [email protected] 8 points 4 days ago

    Goddammit, that's a good one 🀣

    Thanks!

    [–] [email protected] 5 points 4 days ago

    Considering even Windows can open it without any third-party program, I would say it's quite useful.

    [–] [email protected] 1 points 4 days ago

    A zip file? Thanks, that will fit in the trash bin quite nicely.