934
submitted 1 year ago by [email protected] to c/[email protected]
top 50 comments
sorted by: hot top new old
[-] [email protected] 188 points 1 year ago* (last edited 1 year ago)
[-] [email protected] 230 points 1 year ago* (last edited 1 year ago)

tar -h

Edit: wtf... It's actually tar -?. I'm so disappointed

[-] [email protected] 220 points 1 year ago
[-] [email protected] 77 points 1 year ago* (last edited 1 year ago)
[-] [email protected] 106 points 1 year ago
[-] [email protected] 27 points 1 year ago

Me trying to decompress a .tar file

load more comments (2 replies)
[-] [email protected] 18 points 1 year ago

You don't need the v, it just means verbose and lists the extracted files.

load more comments (8 replies)
[-] [email protected] 61 points 1 year ago

tar -xzf

(read with German accent:) extract the files

[-] [email protected] 28 points 1 year ago

Ixtrekt ze feils

[-] [email protected] 19 points 1 year ago

German here and no shit - that is how I remember that since the first time someone made that comment

load more comments (2 replies)
load more comments (2 replies)
[-] [email protected] 21 points 1 year ago* (last edited 1 year ago)

tar -uhhhmmmfuckfuckfuck

load more comments (7 replies)
[-] [email protected] 95 points 1 year ago

Zip makes different tradeoffs. Its compression is basically the same as gz, but you wouldn't know it from the file sizes.

Tar archives everything together, then compresses. The advantage is that there are more patterns available across all the files, so it can be compressed a lot more.

Zip compresses individual files, then archives. The individual files aren't going to be compressed as much because they aren't handling patterns between files. The advantages are that an error early in the file won't propagate to all the other files after it, and you can read a file in the middle without decompressing everything before it.

load more comments (6 replies)
[-] [email protected] 87 points 1 year ago

Obligatory shilling for unar, I love that little fucker so much

  • Single command to handle uncompressing nearly all formats.
  • No obscure flags to remember, just unar <yourfile>
  • Makes sure output is always contained in a directory
  • Correctly handles weird japanese zip files with SHIFT-JIS filename encoding, even when standard unzip doesn't
[-] [email protected] 41 points 1 year ago

gonna start lovingly referring to good software tools as “little fuckers”

load more comments (2 replies)
load more comments (8 replies)
[-] [email protected] 59 points 1 year ago
[-] [email protected] 32 points 1 year ago
[-] [email protected] 22 points 1 year ago

7z is available for Linux as well (CLI only)

It is open-source too.

load more comments (1 replies)
[-] [email protected] 25 points 1 year ago
[-] [email protected] 15 points 1 year ago

When I was on windows I just used 7zip for everything. Multi core decompress is so much better than Microsoft's slow single core nonsense from the 90s.

load more comments (1 replies)
load more comments (2 replies)
[-] [email protected] 48 points 1 year ago
[-] [email protected] 23 points 1 year ago

You can't decrease something by more than 100% without going negative. I'm assuming this doesn't actually decompress files before you tell it to.

Does this actually decompress in 1/13th the time?

[-] [email protected] 16 points 1 year ago

Yeah, Facebook!

Sucks but yes that tool is damn awesome.

Meta also works with CentOS Stream at their Hyperscale variant.

[-] [email protected] 24 points 1 year ago

Makes sense. There are actual programmers working at facebook. Programmers want good tools and functionality. They also just want to make good/cool/fun products. I mean, check out this interview with a programmer from pornhub. The poor dude still has to use jquery, but is passionate to make the best product they can, like everone in programming.

load more comments (1 replies)
[-] [email protected] 47 points 1 year ago
load more comments (13 replies)
[-] [email protected] 38 points 1 year ago

When I'm feeling cool and downloading a *.tar* file, I'll wget to stdout, and tar from stdin. Archive gets extracted on the fly.

I have (successfully!) written an .iso to CD this way, too (pipe wget to cdrecord). Fun stuff.

load more comments (6 replies)
[-] [email protected] 36 points 1 year ago

.tar.gz, or .tgz if I'm in a hurry

load more comments (1 replies)
[-] [email protected] 35 points 1 year ago
load more comments (1 replies)
[-] [email protected] 34 points 1 year ago* (last edited 1 year ago)

Can someone explain why MacOS always seems to create _MACOSX folders in zips that we Linux/Windows users always delete anyway?

[-] [email protected] 19 points 1 year ago

Window adds desktop.ini randomly too

load more comments (5 replies)
[-] [email protected] 16 points 1 year ago

this is a complete uneducated guess from a relatively tech-illiterate guy, but could it contain mac-specific information about weird non-essential stuff like folder backgrounds and item placement on the no-grid view?

load more comments (2 replies)
load more comments (13 replies)
[-] [email protected] 23 points 1 year ago

.fitgirlrepack

[-] [email protected] 21 points 1 year ago

I'm the weird one in the room. I've been using 7z for the last 10-15 years and now .tar.zst, after finding out that ZStandard achieves higher compression than 7-Zip, even with 7-Zip in "best" mode, LZMA version 1, huge dictionary sizes and whatnot.

zstd --ultra -M99000 -22 files.tar -o files.tar.zst

load more comments (4 replies)
[-] [email protected] 21 points 1 year ago* (last edited 1 year ago)

.tar.7z gang (probably not a good idea)

load more comments (2 replies)
[-] [email protected] 21 points 1 year ago* (last edited 1 year ago)

I use .tar.gz in personal backups because it's built in, and because its the command I could get custom subdirectory exclusion to work on.

[-] [email protected] 20 points 1 year ago

7z gang joined the chat.....

[-] [email protected] 20 points 1 year ago

Me removing the plastic case of a 2.5' sata ssd to make it physically smaller

load more comments (1 replies)
[-] [email protected] 20 points 1 year ago

Mf’ers act like they forgot about zstandatd

[-] [email protected] 18 points 1 year ago* (last edited 1 year ago)

I mean xz/7z has kind of been the way for at least a decade now

load more comments (4 replies)
[-] [email protected] 17 points 1 year ago
[-] [email protected] 17 points 1 year ago
load more comments (6 replies)
[-] [email protected] 17 points 1 year ago

Can we please just never use proprietary rar ever. We have 7z, tar.gz, and the classic zip

[-] [email protected] 16 points 1 year ago

all the cool kids use .cab

load more comments
view more: next ›
this post was submitted on 06 Jun 2024
934 points (99.1% liked)

linuxmemes

25535 readers
1474 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