this post was submitted on 12 Mar 2024
757 points (98.8% liked)
Programmer Humor
32483 readers
602 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I remember those 2 and thats all I need.
tar -extrakt ze file
tar -compress ze file
Tar Xtract Ze Vucking File
Edit: apparently someone else already mentioned this, oops
tar -extract -any -file is easier, auto detect the compression based on filename.
I think GNU tar automatically detects the compression, making
-a
unnecessary in that case.And
-z
.tar -xf foo.tar.{gz,xz,zstd,...}
will work perfectly fine.Nope - it was Unix not Linux. The minus makes the command invalid on many Unix versions of tar (though most modern BSD versions allow it)
Gonna blow up then I guess
tar -extract -file
tar -compress -xz -file