Hide A File Or Directory On Mac Os X To hide a file or directory chflags hidden ~/path To make a hidden file or directory visible chflags nohidden ~/path