this post was submitted on 01 Nov 2023
652 points (98.2% liked)
Technology
59148 readers
2773 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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?
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
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)
you seem angry. what's the difference between a folder and directory, theyre the same thing.
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?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.
I often want to extract just a few files from an archive, so no.
Would that really be safe though? I wouldn't want everything to unzip without checking first what's inside.
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.
What about zip bombs?
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.
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.