chflags Command Examples

Change file or directory flags. More information: https://keith.github.io/xcode-man-pages/chflags.1.html.

chflags {{hidden}} {{path/to/file}}

chflags {{nohidden}} {{path/to/file}}

chflags -R {{uchg}} {{path/to/directory}}

chflags -R {{nouchg}} {{path/to/directory}}