unhide files in Sonoma
I upgraded to Sonoma and now I have hidden files. How do I unhide all these files permanently?
iMac 27″, macOS 11.7
I upgraded to Sonoma and now I have hidden files. How do I unhide all these files permanently?
iMac 27″, macOS 11.7
I had the same issue when upgrading to Sonoma. Called Apple support and they couldn't find out what caused this.
The command below fixed my problem and I'm able to download any files without them being 'invisible'. In fact I had some much older files re-appear on my desktop that were apparently hidden.
Open terminal (in the utilities folder under application folder) and type:
defaults write com.apple.finder AppleShowAllFiles true
After running the command, restart Finder by typing:
killall Finder
This will make hidden files and folders visible in Finder. To hide them again, type the same command in the first line, but use 'false' instead of 'true'.
I had the same issue when upgrading to Sonoma. Called Apple support and they couldn't find out what caused this.
The command below fixed my problem and I'm able to download any files without them being 'invisible'. In fact I had some much older files re-appear on my desktop that were apparently hidden.
Open terminal (in the utilities folder under application folder) and type:
defaults write com.apple.finder AppleShowAllFiles true
After running the command, restart Finder by typing:
killall Finder
This will make hidden files and folders visible in Finder. To hide them again, type the same command in the first line, but use 'false' instead of 'true'.
Remember that macOS is a UNIX operating system with Finder and graphical applications providing the user interface. In UNIX operating systems, there are filenames prefaced with a "." that are intended to be hidden and we collectively refer to this class of file as "dot files." Ordinarily, these are not files found in the Finder unless by way of using the cmd+shift+. shortcut.
From the Terminal, one can also use the chflags(1) utility to hide (hidden) or unhide (nohidden) specified files or folders. When hidden, these files remain unseen in a normal Finder view, and displayed as grayed out after a shift+command+. shortcut. If in the Terminal, one can identify these hidden files via
ls -lO *
-rw-r--r--@ 1 viking staff - 625227 Jan 6 17:42 172511.pdf
chflags hidden 172511.pdf
ls -lO
-rw-r--r--@ 1 viking staff hidden 625227 Jan 6 17:42 172511.pdf
chflags nohidden 172511.pdf
ls -lO *
-rw-r--r--@ 1 viking staff - 625227 Jan 6 17:42 172511.pdf
One can also detect hidden status with the stat(1) command:
stat -f '%Sf' 172511.pdf
hidden
Ordinarily non-dot files in the user space are not capriciously hidden by the operating system, but may be hidden based on system calls in developer application logic — however unlikely that occurrence.
If within an open Finder Window, a file that is hidden with chflags will not magically reappear when unhidden in that current Finder Window view until that view is refreshed by switching locations and back again.
I've got MacBook air 13 2019. I have upgrade it from macOS 10 to Sonoma and too many files in my Desktop was marked as hidden.
For example - there was 20 files in your folder synchronised with iCloud Drive, but after upgrade - only 3.
So - you are able to press on folder and "remove download"
Then - try to press synchronise button.
There are 20 files will be downloaded (look it at status bar), but only 3 one will be in folder.
If you press cmd-shift-dot to see hidden files - they will stay visible.
All files was synchronised with iCloud Drive.
So you are able to look:
1) Open Terminal
2) cd ~/Desktop
3) find . -exec ls -lO {} \;|grep hidden
If you have such files you are able to clear this flag for all files in the tree by command:
4) chflags -R nohidden *
or for file:
4*) chflags nohidden file.txt
FYI If your file has attribute mask -rw------ - it's not standart, so i'm able to change it by the command:
chmod -R a+r *
So the mask will be -rw-r--r--
That really doesn't help. I'd like to see my necessary files show permanently, instead of going back and forth using terminal. I have alot of files that became hidden. I solved the problem on my husband's side as he already has an imac and macbook air(mine). I copied the entire content from imac to an external drive and nuked the document folder in the macbook air and copied the documents folder back onto my macbook air. I don't have that option for my side since i only use my macbook air.
You can toggle the hidden files setting with cmd-shift-., but that isn't the answer, either.
I don't know why Apple Support would offer that except as a temporary measure to see them.
You can try copy/pasting this command in Terminal and leave a space after, then drag in the hidden files (show them with the shortcut, above).
chflags nohidden
However, this depends on the hidden flag being the cause for them being hidden. Do you have only some files hidden, or are all of them hidden?
I have this problem with files in my `Documents` folder since upgrading to Sonoma. If I run:
chflags -R nohidden .
it fixes the problem temporarily, but then it seems macOS sets the files back to hidden (almost immediately) so I'm fighting with the OS to keep my preference.
In my case these files are `.dotfiles` that get hidden.
This is particularly annoying because some of these files are scripts and executables that become unavailable when macOS hides them. I do want to keep these scripts backed up in iCloud, but I do not want to have them hidden.
That really doesn't help. I'd like to see my necessary files show permanently, instead of going back and forth using terminal. I have alot of files that became hidden. I solved the problem on my husband's side as he already has an imac and macbook air(mine). I copied the entire content from imac to an external drive and nuked the document folder in the macbook air and copied the documents folder back onto my macbook air. I don't have that option for my side since i only use my macbook air.
Hi, I have the same problem, i just install Sonoma on my 2019 mac book air and now almost all of my files are hiden. I don't want to show all the unnecessery files all the time, just my normal files ! I don't find where i can unhidden them... Did you resolve the problem ??
Thanks !
Vincent Bevilacqua
Great posting, thanks. I'm thinking there's got to be a utility that can help you do this in bulk with a nice UI. It's hard to find, though, because that will be a minor part of a broader and more powerful app (there are some little apps out there specifically for hiding/unhiding, but they're amateurish).
I have not. I just learned to get used to seeing everything becuz I don’t use as often. But if this happens on my work Mac mini(which I never update to latest os unless i am forced to) I would go scorched earth.
there gotta be a solution for this without using terminal.
ndunn433 wrote:
I upgraded to Sonoma and now I have hidden files. How do I unhide all these files permanently?
Hidden files where?
What kind of files?
they are excel .xlsx and .csv and .docx
I unhid them and they are on my desktop. I need to have them permanently unhidden.
Thanks a lot!
Not all files are hidden, but most of them... I have the same problem, i don't know what to do...
unhide files in Sonoma