Because of your comment, I did a quick google search and pretty much every source says that .tar.gz is also pretty ancient and not that good (from a compression point of view). For better compression, you can use the xz or 7zip formats. The former is more used on Linux, if that's what you're using.
Yep, but Windows is still the majority right now... And i'm sure there are a lot of people out there that don't have 7zip installed (why doesn't MS include their own implementation already ?)
People barely understand how to open a .zip file, explaining what .tar.gz is and why you need an additional program (on Windows) is going to be impossible.
I tend to prefer zip because of cross compatibility with Windows with no extra software needed, and because the Windows software to unpackage a tar.gz that I have used required unpacking it twice (once for the gz, then again for the tar). It seemed like a hassle.
On Linux I command line everything, so they are the same to me, so I have no preference there. But is there something actually better about it?
With .zip you can extract just one file from it, while with .tar.gz you have to uncompress the whole .tar before you can get the files - so that's worse.
But, since you're compressing all files at once you could get better compression since information can be shared between files.
It's likely a combination of tradition/habit and compatibility. Tar.gz is widely supported on *nix systems, and while 7z is highly efficient, its not as widely supported and may need additional libraries or software to work on some systems,/distros
Yay this is now a URL. If your intention was not to post a URL to some random website not loading anything but javadscript, put a "" before the link I guess
47 Comments
0x4E4F@sh.itjust.works · 35 pts · 3y
yourfiles.tar.xz
TimeSquirrel@kbin.social · 10 pts · 3y
Looks more like a one-way hash to me.
_ak@lemmy.world · 9 pts · 3y
This is a one-way hash.
0x4E4F@sh.itjust.works · 2 pts · 3y
Yeah, well, couldn't find an image of pillows being sqashed to a singularity.
Luckily, it's open to interpretation, lol.
tomcatt360@lemmy.world · 3 pts · 3y
Mike: It's a cube of garbage. 🙄
Sully: I can still here her tiny little voice. 😦
Mike: Oh.
Seven@lemmy.world · 1 pts · 3y
Sounds familiar to me
trex@lemmy.world · 18 pts · 3y
Spotted the Linux user
Lolors17@feddit.de · 4 pts · 3y
You got me!
Semmelstulle@kbin.social · 14 pts · 3y
I do NOT understand how zip is still the default. I use .tgz wherever I can.
DeGandalf@kbin.social · 13 pts · 3y
Because of your comment, I did a quick google search and pretty much every source says that .tar.gz is also pretty ancient and not that good (from a compression point of view). For better compression, you can use the xz or 7zip formats. The former is more used on Linux, if that's what you're using.
Pantherina@feddit.de · 2 pts · 3y
Lzo or lzma is best for compression. Also depends on the compression rate. KDE Ark is awesome
miss_taken@lemmy.ml · 0 pts · 3y
Nono, z-standard is where it's at
CreativeTensors@beehaw.org · 11 pts · 3y
Compatibility with literally anything under the sun that can decompress a compressed file.
Semmelstulle@kbin.social · 2 pts · 3y
But isn't that's given with tgz too?
Except of course Windows iirc
Mininux@sh.itjust.works · 4 pts · 3y
Yep, but Windows is still the majority right now... And i'm sure there are a lot of people out there that don't have 7zip installed (why doesn't MS include their own implementation already ?)
Pantherina@feddit.de · 2 pts · 3y
They do but its useless. Winrar can handle .tar.* too
Semmelstulle@kbin.social · 2 pts · 3y
And this is the problem imo. If you NEVER change a thing you will never improve
Mininux@sh.itjust.works · 0 pts · 3y
Good luck teaching that to people who only use a computer to browse Facebook.
Not saying it's impossible, but it takes time
Semmelstulle@kbin.social · 1 pts · 3y
Do these even need zips?
duncesplayed@lemmy.one · 2 pts · 3y
Windows, Android, iOS do not open them by default.
Semmelstulle@kbin.social · 4 pts · 3y
You can do it on iOS using Siri Shortcuts.
I don't get how they add all these formats to Shortcuts but only Zip into the file app...
qaz@lemmy.world · 5 pts · 3y
People barely understand how to open a
.zipfile, explaining what.tar.gzis and why you need an additional program (on Windows) is going to be impossible.Dandroid@lemmy.world · 3 pts · 3y
What exactly is better about tar.gz over zip?
I tend to prefer zip because of cross compatibility with Windows with no extra software needed, and because the Windows software to unpackage a tar.gz that I have used required unpacking it twice (once for the gz, then again for the tar). It seemed like a hassle.
On Linux I command line everything, so they are the same to me, so I have no preference there. But is there something actually better about it?
sznio@lemmy.world · 1 pts · 3y
With .zip you can extract just one file from it, while with .tar.gz you have to uncompress the whole .tar before you can get the files - so that's worse.
But, since you're compressing all files at once you could get better compression since information can be shared between files.
entropicshart@lemmy.world · 13 pts · 3y
Best explanation of tar/tar.gz that I have seen
psycrow@lemmy.world · 11 pts · 3y
Why use this over .7z? I'm legit curious.
Zardoz@lemmy.world · 4 pts · 3y
It's likely a combination of tradition/habit and compatibility. Tar.gz is widely supported on *nix systems, and while 7z is highly efficient, its not as widely supported and may need additional libraries or software to work on some systems,/distros
WarMarshalEmu@lemmy.world · 4 pts · 3y
roseh@lemmygrad.ml · 4 pts · 3y
Compatibility. Every Linux system comes with tar and gzip
TauZero@mander.xyz · 3 pts · 3y
Also, 7z does not store file permissions. Doesn't matter for a bunch of text/media files, but needed for distributing software.
glibg10b@lemmy.ml · 1 pts · 3y
Why use this over .xz? I'm legit curious.
Gentoo1337@sh.itjust.works · 11 pts · 3y
Reminds me of the "grandma .zip" meme
Pantherina@feddit.de · 4 pts · 3y
Yay this is now a URL. If your intention was not to post a URL to some random website not loading anything but javadscript, put a "" before the link I guess
Test "example/.com"
14specks@lemmy.ml · 4 pts · 3y
Fuck Google
Gentoo1337@sh.itjust.works · 1 pts · 3y
Oops, yeah that was my intention lol. I'll put some invisible unicode character after the dot, maybe that would do it.
this@sh.itjust.works · 3 pts · 3y
Naw thats grandma.mp3 or grandma.jpg because thats clearly lossy compression not lossless.
Redex68@lemmy.world · 1 pts · 3y
For the love of God why did Google do this. Why is this a domain now ffs.
SuperRecording@kbin.social · 8 pts · 3y
tar just wraps, doesn't compress. so more accurate would be the pillows in a looser bag that doesn't squish them even a little :)
Gleaming0167@kbin.social · 5 pts · 3y
Cuts them into nice stripes so they fit onto a tape spindle though.
WheeGeetheCat@sh.itjust.works · 6 pts · 3y
I've learned something today