I hid mach_kernel and private, but the cache.db, cache.db-shm, cache.db-wal of both the system and user folder are, also, visible. Yesterday, I had to restore from a Time Machine backup because something had suddenly eaten all the space on my startup drive. However, these files were visible prior to the restore. So, why are they there and how do I safely dispose of them or hide them to prevent their return to visibility? Thanks.

1 Answer 1


try "defaults write com.apple.Finder AppleShowAllFiles NO" in terminal.

or you could do a "chflags hidden /path/to/folder"

how did you hide private and mach_kernel

  • I hid private and mach_kernel with "sudo chflags hidden".
    – Kerlix
    Commented Nov 14, 2014 at 23:53
  • how did the defaults write for appleshowallfiles go? Commented Nov 17, 2014 at 16:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .