News for hackers. Stuff that matters.
Re:Ask HN: What feature did you find after years of using ma... by hamiltont on Saturday August 08, 2020 @10:44AM (#24091943)
Show hidden files (dotfiles) inside any finder window or file open dialog: Cmd + Shift + .

Discovered after ~10 years

Re:Ask HN: What feature did you find after years of using ma... by duncans on Saturday August 08, 2020 @11:39AM (#24092451)
Why would they not put this in the View menu? I can even imagine someone invoking it by mistake and not working out how to undo it.
Re:Ask HN: What feature did you find after years of using ma... by bhj on Saturday August 08, 2020 @11:55AM (#24092576)
Exactly, it's also a needless pain point for those switching from Windows, where the checkbox is relatively accessible, if a few clicks away.
Re:Ask HN: What feature did you find after years of using ma... by manmal on Saturday August 08, 2020 @11:15AM (#24092256)
Not even temporarily, it’s a permanent, system-wide setting.
Re:Ask HN: What feature did you find after years of using ma... by hamiltont on Saturday August 08, 2020 @11:20AM (#24092301)
snap, I never realized it was permanent. Guess I just kept turning it off. Thanks! Updated parent comment
Re:Ask HN: What feature did you find after years of using ma... by chaboud on Saturday August 08, 2020 @12:37PM (#24092952)
That’s wild. I’ll leave it off, though. I don’t trust Finder to handle file operations safely and effectively (too many dangling files, partial copies, and littered indexing files in my history).

If I have dot files, I’m gonna go all grey beard and handle them in a terminal.

Re:Ask HN: What feature did you find after years of using ma... by prh8 on Saturday August 08, 2020 @12:37PM (#24092961)
This is one of the most useful ones here that I didn't already know, thank you
Re:Ask HN: What feature did you find after years of using ma... by Roybot on Saturday August 08, 2020 @10:50AM (#24091995)
This is awesome.
Re:Ask HN: What feature did you find after years of using ma... by nemosaltat on Saturday August 08, 2020 @10:58AM (#24092078)
I’ve been using `defaults write com.apple.finder AppleShowAllFiles YES; killall dock` for at least 15 years. A quick DDG search, indicated this shortcut arrived in High Sierra. Has it been around longer?
Re:Ask HN: What feature did you find after years of using ma... by nguyenkien on Saturday August 08, 2020 @11:07AM (#24092159)
No, this new added recent years. Before that I have to use software like xtrafinder (Cmd+Shift+/)

---

https://www.macworld.co.uk/how-to/mac-software/show-hidden-f... added since sierra

Re:Ask HN: What feature did you find after years of using ma... by uranusjr on Saturday August 08, 2020 @11:07AM (#24092160)
It has been around for as long as I can remember, and I have been using Mac since 10.3.

—

Edit: Thinking about it a bit more, it might not be that long since I wasn’t into programming back then and hidden files meant little to me. The first time I used it was probably around Leopard.

—

Edit 2: It seems like the feature debuted in Lion (10.7). This would make sense since Finder was overhauled in that version to add several features.

Re:Ask HN: What feature did you find after years of using ma... by Brajeshwar on Saturday August 08, 2020 @01:06PM (#24093203)
Remember this is a toggle, so you can toggle hide/unhide with the same shortcut. I use it pretty often.
Re:Ask HN: What feature did you find after years of using ma... by digital_voodoo on Saturday August 08, 2020 @12:44PM (#24093018)
This doesn't work on my Mac. Only Cmd + Shift + Fn + . works. Don't know why, tbh.
Re:Ask HN: What feature did you find after years of using ma... by house9-2 on Saturday August 08, 2020 @10:58AM (#24092079)
Thank you!
Re:Ask HN: What feature did you find after years of using ma... by mattalbie on Friday August 14, 2020 @02:51PM (#24161782)
Also, it works in open/save dialog boxes.