this post was submitted on 11 Nov 2024
304 points (97.8% liked)

Shitty admin

148 readers
36 users here now

Welcome to Shitty Admin!

This community is for shit posting about terrible things computer admin do. Cross posts are welcome and so is satire.

Please no politics or harmful content

founded 6 days ago
MODERATORS
304
submitted 2 days ago* (last edited 2 days ago) by [email protected] to c/[email protected]
 

Update: fixed

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 1 day ago* (last edited 1 day ago) (3 children)

Well, I certainly wouldn't want to get into a disagreement with someone who clearly knows more about file compression than I do.

I was trying to make a joke where his crushed computer was merely compressed and I was using a terminal command to decompress the computer, as if it were a file.

I wasn't specifying tar as a file format. I was running the program "tar" using a terminal command.

I think that if you pointed the command I used at a compressed file, it'd decompress it but what do I know?

[–] [email protected] 3 points 1 day ago* (last edited 1 day ago) (2 children)

Yeah, you're right and your "achsully" buddy doesn't know how modern tar works. Yes, basic tar doesn't compress, but adding -z triggers the use of gzip (hence .tar.gz) to add compression. You can also use other options to specify different compression algorithms/programs to use (eg lzma)

[–] [email protected] -1 points 1 day ago* (last edited 1 day ago) (1 children)

i know, but after you add a compression method to it, tar still doesn't compress. Only the other, actual compression algorythm you add to it, like gz, xz, bz2, zst, rz, etc. I do know how modern tar works, but no matter how modern it is, it still can't compress files. It only calls a file compressor at most

[–] [email protected] 2 points 23 hours ago* (last edited 23 hours ago)

What does it matter? The OP never implied tar itself compresses, just that the mentioned command could try to decompress regardless of what happens underneath.