Mac – hide and unhide a file or directory

Mac command line utility chflags can be used t unhide or hide a hidden folder or file on Mac. A hidden folder will start appearing in Finder window as shown below

Unhide directory ~/Library

$ chflags nohidden ~/Library/

Hide directory ~/Library

$ chflags hidden ~/Library/
Share this article: share on Google+ share on facebook share on linkedin tweet this submit to reddit


Click here to write/view comments