Folder became hidden suddenly

Joined
Nov 11, 2012
Messages
13
Reaction score
0
Points
1
Location
East Brunswick, NJ
Your Mac's Specs
late 2012 Mac Mini
I was updating some files in a folder on my NAS, and after the update was complete, I went to look at that folder in finder, and the folder was missing. I logged into the NAS, and found that the folder was still there, so it appeared that the folder had somehow become hidden. I was able to verify this using a utility that makes hidden files and folders visible. The folder showed up, greyed out. So, I searched for a solution, and found a Terminal commend that seems to have fixed it:

chflags nohidden <foldername>


So why did this happen? And was my solution appropriate?
 

chscag

Well-known member
Staff member
Admin
Joined
Jan 23, 2008
Messages
65,246
Reaction score
1,834
Points
113
Location
Keller, Texas
Your Mac's Specs
2017 27" iMac, 10.5" iPad Pro, iPhone 8, iPhone 11, iPhone 12 Mini, Numerous iPods, Monterey
The solution you used was fine. What caused the folder to become hidden is another matter especially if all you were doing was updating it. A dot (.) could have accidentally been placed in front of the folder name which would cause it to become hidden. Like this = .MyFolder
 
OP
S
Joined
Nov 11, 2012
Messages
13
Reaction score
0
Points
1
Location
East Brunswick, NJ
Your Mac's Specs
late 2012 Mac Mini
Thanks. I'm glad that the solution was fine. I have no idea what would have caused this. I literally did a drag and drop from one folder to another in order to update the files in the target folder. But as long as it is working properly again, and I did no damage, I'll go about my business :)
Thanks...
 

Slydude

Well-known member
Staff member
Moderator
Joined
Nov 15, 2009
Messages
17,959
Reaction score
1,381
Points
113
Location
North Louisiana, USA
Your Mac's Specs
M1 MacMini 16 GB - Sequoia, iPhone 14 Pro Max, 2015 iMac 16 GB Monterey
Was the NAS nearly full by any chance? I accidentally started a multi gigabyte operation once that would have filled the remainder of the space on then drive. Rather than warn me of this the software "ran home to mama" so to speak. The result was an entire drive of files that had to be recovered via some recovery software.
 
OP
S
Joined
Nov 11, 2012
Messages
13
Reaction score
0
Points
1
Location
East Brunswick, NJ
Your Mac's Specs
late 2012 Mac Mini
No, the NAS has plenty of free space.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top