bi_tux ,
@bi_tux@lemmy.world avatar

.tar.gz

Petter1 ,

Im a pirate, I am rar like, roawr, lol

maniel ,
@maniel@sopuli.xyz avatar

ZSTD FTW

nova_ad_vitum ,

Damn you guys borrowing consonants from polish names now?

maniel ,
@maniel@sopuli.xyz avatar

Wut?

renzev ,

I think it's a joke about how people from Poland have a lot of consonant letters in their name, particularly the letter Z. This appears strange to non-poles, and thus became the subject of many jokes. So ZSTD looks a little bit like a Polish name in the sense that it's made up of many consonant letters, including a Z.

More examples of people making fun of Polish names:

QuazarOmega ,

This sent me down a Polish rabbit hole I'm very happy to have fell into

cygon ,

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

Eiim ,

You can actually use Zstandard as your codec for 7z to get the benefits of better compression and a modern archive format! Downside is it's not a default codec so when someone else tries to open it they may be confused by it not working.

rekabis ,

That is an interesting implementation of security through obscurity…

How does one enable this on the standard 7Zip client?

Eiim ,

On Windows, it's easy! Unfortunately, on Linux, as far as I know, you currently have to use a non-standard client.

rekabis ,

Cool, THANKS!! 😊 🙏

cley_faye ,

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

ordellrb ,

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

iix ,
@iix@lemmy.world avatar

That's a big drive.

shotgun_crab ,

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

uis ,
@uis@lemm.ee avatar

.tar.xz is. Or .tar.lzip.

FooBarrington ,

.tar.7z.zip.bz2 gang unite

Drummyralf , (Bearbeitet )

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

LiveLM ,

They're Metadata specific for Macs.
If you download a third party compression tool they'll probably have an option somewhere to exclude these from the zips but the default tool doesn't Afaik.

Drummyralf ,

Thanks! Hmm, never thought of looking at 7zip's settings to see if it can autodelete/not unpack that stuff. I'll see if I can find such a setting!

ReveredOxygen ,
@ReveredOxygen@sh.itjust.works avatar

You can definitely check, but I would expect the option to exist when the archive is created rather than when it's extracted

FIST_FILLET ,

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?

Scrollone ,

Correct. It contains filesystem metadata that's not supported in the zip files "filesystem".

PlexSheep ,

Interesting. We have that in Linux too just not for every directory.

cm0002 ,

Because Apple always gotta fuck with and "innovate" perfectly working shit

Windows's built-in tool can make zips without fucking with shit AND the resulting zip works just fine across systems.

Mac though...Mac produced zips always ALWAYS give me issues when trying to unzip on a non-mac (ESPECIALLY Linux)

best_username_ever ,

"Resource forks" IIRC, old stuff. Same for the .DS_Store file.

renzev ,

For just $12.99 you can disable this https://apps.apple.com/us/app/blueharvest/id739483376

Hawk ,

HFS+ has a different features set than NTFS or ext4, Apple elect to store metadata that way.

I would imagine modern FS like ZFS or btrfs could benefit from doing something similar but nobody has chosen to implement something like that in that way.

Drummyralf ,

Yeah totally!

frantically searches for the meaning of all those abbreviations

Hawk ,

I gotcha:

  • Btrfs
    • BTree File System
      • A Copy on White file system that supports snapshots, supported mostly by
  • ZFS
    • Zetabyte File System
      • Copy on Write File System. Less flexible than BTRFS but generally more robust and stable. Better compression in my experience than BTRFS. Out of Kernel Linux support and native FreeBSD.
  • HFS+
    • what Mac uses, I have no clue about this. some Copy on Write stuff.
  • NTFS
    • Windows File System
    • From what I know, no compression or COW
    • In my experience less stable than ext4/ZFS but maybe it's better nowadays.
Drummyralf ,

Thanks!

TCB13 ,
@TCB13@lemmy.world avatar

Great summary, but I've to add that NTFS is WAY more stable than ext4 when it comes to hardware glitches and/or power failures. ZFS is obviously superior to both but overkill for most people, BTRFS should be a nice middle ground and now even NAS manufacturers like Synology are migrating ext4 into BTRFS.

Hawk ,

Well that's good to know because I had some terrible luck with it about a decade ago. Although I don't think I would go back to windows, I just don't need it for work anymore and it's become far too complex.

I've also had pretty bad luck with BTRFS though, although it seems to have improved a lot in the past 3 years that I've been using it.

ZFS would be good but having to rebuild the kernel module is a pain in the ass because when it fails to build you're unbootable (on root). I also don't like how clones are dependant on parents, requires a lot of forethought when you're trying to create a reproducible build on eg Gentoo.

renzev ,

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
FIST_FILLET ,

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

Scrollone ,

Happy cake day!

FIST_FILLET ,

cheers!

sh__ ,

What weird Japanese zip files are you handling?

renzev ,

Voicebanks for Utau (free (as in beer, iirc) clone of Vocaloid) are primarily distributed as SHIFT-JIS encoded zips. For example, try downloading Yufu Sekka's voicebank: http://sekkayufu.web.fc2.com/ . If I try to unzip the "full set" zip, it produces a folder called РсЙ╠ГЖГtТPУ╞Й╣ГtГЛГZГbГgБi111025Бj. But unar detects the encoding and properly extracts it as 雪歌ユフ単独音フルセット(111025). I'm sure there's some flag you can pass to unzip to specify the encoding, but I like having unar handle it for me automatically.

sh__ ,

Ah, that's pretty cool. I'm not sure I know of that program. I do know a little vocaloid though, but I only really listen to 稲葉曇(Inabakumori).

renzev ,

I know inabakumori! Their music is so cool! When I first listened to rainy boots and lagtrain, it made me feel emotions I thought I had forgotten a long time ago... I wish my japanese was good enough to understand the lyrics without looking them up ._. I'm also a huge fan of Kikuo. His music is just something completely unique, not to mention his insane tuning. He makes Miku sing in ways I didn't think were possible lol

sh__ ,

I get you, I want to learn more Japanese. I only understand a very small amount at this point. I don't have any Miku songs that I have really wanted to listen to, but that could change. I might check out Kikuo then. Also I love the animations Inabakumori release with their songs too. They have some new stuff that's really good if you haven't checked it out yet.

adavis ,

I'm an atools kinda person

renzev ,

Looks cool, I'll check it out

shekau ,

The same thing with zip, just use "unzip <file>" right?

devilish666 ,

7z gang joined the chat.....

9point6 ,

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

jj4211 ,

Well, tar.zstd is starting to be the thing now.

woelkchen ,
@woelkchen@lemmy.world avatar

First bundling everything in a tar file just to compress the thing in an individual step is kinda stupid, though. Everything takes much longer because of that. If you don't need to preserve POSIX permissions, tar is pointless anyway.

Stupidmanager ,

Slower, yes. More compression, yes. Stupid, no. tar serves a purpose beyond persevering permissions.

woelkchen ,
@woelkchen@lemmy.world avatar

Use an archiving format that does both at once then, preserving whatever tar use cases has and compressing. The two steps are stupid, no arguing against that.

madscience ,

Mf’ers act like they forgot about zstandatd

cupcakezealot ,
@cupcakezealot@lemmy.blahaj.zone avatar

all the cool kids use .cab

frezik ,

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.

fmstrat ,

Nowhere in here do you cover bzip, the subject of this meme. And tar does not compress.

frezik ,

It's just a different layer of compression. Better than gzip generally, but the tradeoffs are exactly the same.

fmstrat ,

Well, yes. But your original comment has inaccuracies due to those 2 points.

herrvogel ,

Yeah that's a rather important point that's conveniently left out too often. I routinely extract individual files out of large archives. Pretty easy and quick with zip, painfully slow and inefficient with (most) tarballs.

QuaternionsRock ,

Can you evaluate the directory tree of a tar without decompressing? Not sure if gzip/bzip2 preserve that.

nexussapphire ,

I unironically used xz for a long time. It was just eazy and all around very good compress. A close second is 7zip because I used it on windows for years.

  • Alle
  • Abonniert
  • Moderiert
  • Favoriten
  • random
  • linuxmemes@lemmy.world
  • haupteingang
  • Alle Magazine