How to change hidden attribute on a file on Mac – command line Leave a Reply To show a hidden file: chflags nohidden path/to/file To hide a file: chflags hidden path/to/file