Campfyre
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.world to linuxmemes@lemmy.world · 1 month ago

This town ain't big enough for the 2 of us

lemmy.world

message-square
31
fedilink
335

This town ain't big enough for the 2 of us

lemmy.world

cm0002@lemmy.world to linuxmemes@lemmy.world · 1 month ago
message-square
31
fedilink
alert-triangle
You must log in or # to comment.
  • gandalf_der_12te@discuss.tchncs.de
    link
    fedilink
    arrow-up
    60
    ·
    edit-2
    1 month ago

    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.

    • piefood@piefed.social
      link
      fedilink
      English
      arrow-up
      12
      ·
      1 month 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.

    • DaforLynx@lemmy.zip
      link
      fedilink
      English
      arrow-up
      10
      ·
      1 month ago

      Where does 7z fit into all of this?

      • SoftestSapphic@lemmy.world
        link
        fedilink
        arrow-up
        16
        ·
        1 month ago

        I think that also works like a zip

    • Ziglin (it/they)@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      ·
      1 month 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.

  • PotatoesFall@discuss.tchncs.de
    link
    fedilink
    arrow-up
    46
    ·
    1 month 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

  • Snot Flickerman@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    38
    ·
    1 month ago

    Sends tar.gz in return

    • chronicledmonocle@lemmy.world
      link
      fedilink
      arrow-up
      33
      ·
      1 month ago

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

      • Snot Flickerman@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        14
        arrow-down
        2
        ·
        1 month ago

        Probably part of that Windows Subsystem for Linux

        • 🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.ee
          link
          fedilink
          English
          arrow-up
          25
          arrow-down
          1
          ·
          1 month ago

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

          • zzx@lemmy.world
            link
            fedilink
            arrow-up
            11
            ·
            1 month ago

            That idea has been thrown around A LOT.

            I don’t think it’ll ever happen tbh

            • Midnight Wolf@lemmy.world
              link
              fedilink
              English
              arrow-up
              5
              ·
              edit-2
              1 month ago

              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 📈

              • zzx@lemmy.world
                link
                fedilink
                arrow-up
                5
                ·
                1 month ago

                They’d lose their moat overnight, not gonna happen

        • LaggyKar@programming.dev
          link
          fedilink
          arrow-up
          7
          ·
          1 month ago

          No, they just include libarchive in Windows

      • Ziglin (it/they)@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        1 month ago

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

      • abbadon420@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        1 month ago

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

    • henfredemars@infosec.pub
      link
      fedilink
      English
      arrow-up
      8
      ·
      1 month ago

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

      • Akatsuki Levi@lemmy.world
        link
        fedilink
        English
        arrow-up
        9
        ·
        1 month ago

        I never trusted those

  • f00f/eris@startrek.website
    link
    fedilink
    English
    arrow-up
    25
    ·
    1 month ago

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

  • TabbsTheBat@pawb.social
    link
    fedilink
    arrow-up
    13
    ·
    1 month ago

    Mm zips :3

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

    • gandalf_der_12te@discuss.tchncs.de
      link
      fedilink
      arrow-up
      9
      ·
      1 month ago

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

  • gerryflap@feddit.nl
    link
    fedilink
    arrow-up
    13
    ·
    1 month ago

    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

    • Flax@feddit.uk
      link
      fedilink
      English
      arrow-up
      12
      ·
      1 month ago

      I think it’s a pun. What in tarnation

  • blazeknave@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    1 month ago

    Bc Linux is a .tar nation?

    • flambonkscious@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 month ago

      Thanks, i didnt see that. Love it

    • mr_right@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      2
      ·
      1 month ago

      Yep

  • onlinepersona@programming.dev
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    2
    ·
    1 month ago

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

    Anti Commercial-AI license

    • ArcaneSlime@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      26
      ·
      edit-2
      1 month ago

      Tar-nation.

      • onlinepersona@programming.dev
        link
        fedilink
        arrow-up
        8
        ·
        1 month ago

        Goddammit, that’s a good one 🤣

        Thanks!

  • muhyb@programming.dev
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    1 month ago

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

  • ExLisper@lemmy.curiana.net
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    1 month ago

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

linuxmemes@lemmy.world

linuxmemes@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Hint: :q!


Sister communities:
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]

Community rules (click to expand)

1. Follow the site-wide rules
  • Instance-wide TOS: https://legal.lemmy.world/tos/
  • Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
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 figures

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

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.53K users / day
  • 3.49K users / week
  • 9.6K users / month
  • 18.7K users / 6 months
  • 1 local subscriber
  • 25K subscribers
  • 1.62K Posts
  • 86.1K Comments
  • Modlog
  • mods:
  • Kevin@lemmy.world
  • zephyr@lemmy.world
  • rtxn@lemmy.world
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org