this post was submitted on 06 Jun 2024
932 points (99.1% liked)

linuxmemes

21631 readers
41 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 members of the community for any reason.
  • 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.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 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. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    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 fork-bomb your computer.

    founded 2 years ago
    MODERATORS
    (page 2) 50 comments
    sorted by: hot top controversial new old
    [–] eager_eagle@lemmy.world 14 points 6 months ago* (last edited 6 months ago) (9 children)

    I use the command line every day, but can't be bothered with all the compression options of tar and company.

    zip -r thing.zip things/ and unzip thing.zip are temptingly more straightforward.

    Need more compression? zip -r -9 thing.zip things/. Need a faster option? Use a smaller digit.

    load more comments (9 replies)
    [–] DmMacniel@feddit.de 13 points 6 months ago (5 children)

    how about .tar.zip or .tar.rar?

    [–] palordrolap@kbin.run 9 points 6 months ago

    Kind of redundant. Both .zip and .rar store an index of files within the archive and are a bit 'inside-out' when it comes what we get from tar.gz.

    That is, ZIP is pretty close to what you'd get if you first gzipped all your files and then put them into a .tar.

    RAR does a little more (if I remember correctly), such as generating a dictionary of common redundancies between files and then uses that knowledge to compress the files individually, but better. Something akin to a .tar file is still the result though.

    load more comments (4 replies)
    [–] _thebrain_@sh.itjust.works 12 points 6 months ago

    That's fine. I'm use to being unrepresented in the arj, lha, and uc2 crew

    [–] AVincentInSpace@pawb.social 11 points 6 months ago (2 children)

    If you download and extract the tarball as two separate steps instead of piping curl directly into tar xz (for gzip) / tar xj (for bz2) / tar xJ (for xz), are you even a Linux user?

    [–] PlexSheep@infosec.pub 13 points 6 months ago (4 children)

    I download and then tar. Curl pipes are scary

    load more comments (4 replies)
    load more comments (1 replies)
    [–] lurch@sh.itjust.works 10 points 6 months ago

    one of the cool things about tar is that it's hard link aware

    [–] boredsquirrel@slrpnk.net 10 points 6 months ago

    .tar.xz

    ☠️

    [–] cley_faye@lemmy.world 9 points 6 months ago

    .txz, I'm too lazy to type the full name

    [–] bloodfart@lemmy.ml 9 points 6 months ago

    Good ol -xvjpf

    [–] robolemmy@lemmy.world 9 points 6 months ago (3 children)

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

    Only way to fly.

    load more comments (3 replies)
    [–] hasecilu@lemm.ee 9 points 6 months ago

    I'm from tar.gz.gpg gang to keep away nasty storage providers

    [–] TimeNaan@lemmy.world 8 points 6 months ago (1 children)
    [–] dustyData@lemmy.world 8 points 6 months ago

    Nothing, but I've read people who act as if tar files are some sort of alien artifact ready to rip their faces off.

    [–] Shardikprime@lemmy.world 8 points 6 months ago

    This guy tar balls

    [–] gianni@lemmy.ml 8 points 6 months ago

    .tar.zst forever

    [–] palordrolap@kbin.run 7 points 6 months ago

    Bzip2 compression is often surprisingly good with text files, especially log files. It seems to "see" redundancies there - and logs often have a lot of it - far better than gzip and sometimes even lzma.

    Anyway, if I saw a bunch of tar.bz2 files, that's what I'd expect to find in them.

    [–] callyral@pawb.social 6 points 6 months ago

    i just use either zip or tar+gzip. personally, i avoid rar as it's a proprietary format.

    load more comments
    view more: ‹ prev next ›