Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs

Dashboard
Notifications
Mark all as read
Q&A

How to unhide folder with macOS 11.5

+3
−0

One of the folders in my home folder, Music, appears to be hidden. In the finder it appears slightly greyed out

greyed out folder in Finder

and it won't appear if I try to open files from applications which don't show hidden files.

I tried to unhide the folder using

chflags nohidden Music

to no avail. I also checked with

ls -lO
drwx------@   6 username  staff  -        192 Aug 26 18:31 Music

if there are any other flags.

Any ideas of how to unhide the folder?

Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

Show more

1 answer

+2
−0

Thanks a lot at @Quasímodo‭ for pushing me in the right direction. The problem turned out to be an extended attribute set for this folder.

To see if there are extended attributes, one can use

xattr Music

In my case, this gave com.apple.FinderInfo, so I removed it with

xattr -d com.apple.FinderInfo Music

and now the folder behaves normally.

Why does this post require moderator attention?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »

This community is part of the Codidact network. We have other communities too — take a look!

You can also join us in chat!

Want to advertise this community? Use our templates!