this post was submitted on 01 Nov 2023
652 points (98.2% liked)

Technology

58142 readers
3808 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 content.
  3. Be excellent to each another!
  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, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

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
[–] [email protected] 2 points 10 months ago (4 children)

On macOS, the default double click behavior just unzips the archive into a folder of the same name with no additional interface. I always thought that was a nicer implementation than opening the archive to browse the files how Linux distros usually do (and maybe Windows; I’m not a frequent Windows user). It’s probably what 90% of people want 90% of the time. Why not just make that the default and put the other use cases behind the right click menu?

[–] [email protected] 32 points 10 months ago* (last edited 10 months ago) (1 children)

Who unzips archives before you even know what's in it? That's madness.

You can do that in Windows and Linux (kde at least), it's just part of the right-click context menu, which makes far more sense to me.

Edit: I just remembered that a Mac mouse only has one button lol

[–] [email protected] 6 points 10 months ago (1 children)

Most importantly on KDE you have "extract archive here, autodetect subfolder". Having Ark be a different program than Dolphin is also the right choice as archives aren't directories.

Also if you ever fucking make a tarball that doesn't have a top-level directory and exactly one directory at the top level everyone officially hates you.

(And yes for some unfathomable reason kde calls directories folders)

[–] [email protected] 3 points 10 months ago (2 children)

you seem angry. what's the difference between a folder and directory, theyre the same thing.

[–] [email protected] 2 points 10 months ago

I'm not angry I'm older than Windows 95 which started that whole new-fangled "folder" thing for no reason whatsoever. And it's slowly infecting Unix, too.

...and at the same time they're still using dir to list... a folder?

[–] [email protected] 1 points 10 months ago* (last edited 10 months ago)

A folder stores files and you look up the location of files within that folder with the help of a directory. It was a direct translation of physical concepts, such as the directory in the lobby of a building that tells you which floor and office a business is located.

Just because Windows mushed those definitions together doesn't mean that they're the same.

[–] [email protected] 28 points 10 months ago

I often want to extract just a few files from an archive, so no.

[–] [email protected] 21 points 10 months ago (1 children)

Would that really be safe though? I wouldn't want everything to unzip without checking first what's inside.

[–] [email protected] 5 points 10 months ago (1 children)

I don't think it's in any way unsafe, unless something is very wrong with the in-archiving software, in which case viewing it would likely have the same vulnerability. Files existing I don't think can cause any harm, again without some severe vulnerability somewhere along the chain. Running them is the issue.

[–] [email protected] 3 points 10 months ago (1 children)
[–] [email protected] 0 points 10 months ago

I don't think zip bombs have been an issue for a long time now. That was an issue with archiving software that has been solved I think, unless you use bad software.

[–] [email protected] 4 points 10 months ago

Windows does basically what you think it does.

And I'd rather it not unzip the contents of a file that I haven't looked at yet. I also sometimes only need one or two files from the zip folder and don't want to unzip the entire thing.