651
submitted 2 years ago by L4s@lemmy.world to c/technology@lemmy.world

Windows 11 adds native support for RAR, 7-Zip, Tar and other archive formats thanks to open-source library::undefined

you are viewing a single comment's thread
view the rest of the comments
[-] pHr34kY@lemmy.world 77 points 2 years ago

I wonder how long before I can send someone a .7z file without "hurr durr I can't open this".

Like, OpenDocument support exists in Office 2003 and I still encounter those who can't open a .odt file.

[-] MaxVoltage@lemmy.world 16 points 2 years ago

#2040 take or leave it

[-] pastermil@sh.itjust.works 12 points 2 years ago

Serious question: why would one use .7z when .tar.gz and .tar.xz exist?

[-] lmaydev@lemmy.world 31 points 2 years ago* (last edited 2 years ago)

Why would you use any of them when zip exists?

For an average user they offer no advantage.

[-] Patch@feddit.uk 16 points 2 years ago

Zip has a worse compression ratio than 7z, and that's a disadvantage for the average user (for example, a user with an email attachment size limit that they need to stay under).

If Windows natively supports one of the better alternatives, there's no reason to keep using zip. It's a 30 year old format, and it's something that regular users will happily just go with whatever's default.

[-] pastermil@sh.itjust.works 3 points 2 years ago

I know for a fact .tar.xz offers the best compression rate for my use case.

[-] lmaydev@lemmy.world 9 points 2 years ago

Then you aren't an average user.

[-] msage@programming.dev 4 points 2 years ago

It also takes forever to pack.

I ran benchmarks for syslog compression/decompression, and ended up using plzip, which used lzma, just because it was the fastest decompression while still having only marginally worse ratio.

But it still takes forever to pack.

[-] TrickDacy@lemmy.world 16 points 2 years ago

Yeah definitely sounds just as simple /s

[-] lemann@lemmy.one 9 points 2 years ago

For me .zip on Windows is equivalent to .tar.gz on Linux - used when I just want to send a folder in a single file very quickly.

Also handy when sending an archive to a weaker machine, that might take a while to unpack a 7z compressed at the highest setting.

.7z is when I want to send a folder encrypted, or heavily compress something to archive (like a database, documents folder, or disk image/iso). It seemingly does the impossible, shaving the size from say 60GB down to 40GB compressed if you use solid mode (which has downsides if there are multiple files in the archive). It's incredibly flexible, but the defaults are pretty solid for most cases

[-] RoyaltyInTraining@lemmy.world 5 points 2 years ago

7z files can be browsed without decompressing the contents, and tar.xyz archives preserve file system attributes like ownership. They have totally different use cases.

If I want to back up a directory on my drive, I would use tar.xz. But if I want to send some documents to other people, I would use 7z.

[-] barsoap@lemm.ee 4 points 2 years ago

.7z and .xz are (essentially) the same compression algorithm but it's applied either to the whole chunk of data, or to individual files. That has its pros and cons.

More practically though windows users don't know what the hell tarballs are, and I've even seen some bonkers handling like turning a tar.gz into a tar first that you then have to unpack.

[-] crispy_kilt@feddit.de 3 points 2 years ago

They're Windows users

[-] elscallr@lemmy.world 7 points 2 years ago

I just tell them to install 7zip. I'm not working around your inadequacy.

[-] lmaydev@lemmy.world 3 points 2 years ago* (last edited 2 years ago)

Office support also exists for the majority of editors so why not just use what people are used to?

Why not just send a zip?

There's no advantage to the receiver for either of these.

[-] pHr34kY@lemmy.world 12 points 2 years ago

ODF works on everything. It's reliable and fully documented. The MS office implementation contradicts its own specification and breaks. A lot.

The PK-Zip file format was released in the year 1989. The compression is terrible by modern standards.

[-] bitwyze@lemmy.world 4 points 2 years ago

Zip almost always results in larger archive files...

this post was submitted on 01 Nov 2023
651 points (100.0% liked)

Technology

73655 readers
3861 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS