MacOS – Finder does not show content of some folders

finderfoldersmacmacos

I'm running Lion on Macbook2,1 and after I've upgraded from Leopard, I've noticed that some folders including Pictures are shown empty in Finder. Size of folder says otherwise and in Terminal I can see all my files and folders.

Any Idea what's going on?


Terminal:

Iffat:Pictures mac$ cd Photo\ Booth\ Archive/
Iffat:Photo Booth Archive mac$ ls -l
total 0
drwxr-xr-x   94 mac  staff  3196 Nov 22 15:26 Archive up to 91.08.13
drwxr-xr-x    3 mac  staff   102 Nov 22 15:26 Family
drwxr-xr-x   31 mac  staff  1054 Nov  2  2011 First Soheil Setup
drwxr-xr-x   11 mac  staff   374 Nov  2  2011 Mita
drwxr-xr-x    3 mac  staff   102 Nov 22 15:26 Tidy

In Finder's Get Info, there isn't much to tell, everything is normal, except for Kind: Folder which is missing.

Size: 338683879 bytes (339.3 MB on disk) for 278 items

Best Answer

Can't say I've ever seen that sort of behaviour before, I'm not really sure what might have caused it, but I've got two things to test.

First off, it's possible that the folders got hidden for some reason. Try running

chflags -R nohidden ~/Pictures/Photo\ Booth\ Archive/*

If that doesn't work, see if you can access the folders directly in the Finder by focusing the Finder, pressing ⌘ cmd + ⇧ shift + G and entering the full path of one of the folders into the "Go to the folder:" dialog. If Finder can get there, then there's likely some setting hiding them from view; if not, then there's some reason Finder can't properly access the actual directories on disk.