​​ ​

The Apple Support Community will permanently close on November 20, 2026. Starting today, the site will no longer accept new posts and is available in a read-only state.


You can continue to find trusted guidance and support on the official Apple Support site. 


We want to thank the community members who have contributed their time and expertise to help others with their Apple products.


hidden files in MACos sonoma

On Feb 5, 2024 BobWhite107 asked about showing hidden files in MACos Sonoma. Here are two commands that can be run in terminal.app (Finder, Go-Tab, Utilities, near the bottom of the drop-down list).


To show hidden files:

defaults write com.apple.finder AppleShowAllFiles TRUE && killall Finder


To hide hidden files:

defaults write com.apple.finder AppleShowAllFiles FALSE && killall Finder


Both worked in Sonoma 14.5 on July 13, 2024.

MacBook Pro 14″, macOS 14.5

Posted on Jul 13, 2024 7:30 PM

Question marked as Top-ranking reply

Posted on Jul 13, 2024 7:38 PM

It is actually much easier than that without having to use terminal. Just navigate to the folder in Finder and press Command + Shift + . (period). You can use this as a toggle to show/hide hidden files.

2 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

hidden files in MACos sonoma

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.