1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-15 10:15:53 +02:00

chflags: add page (#2682)

This commit is contained in:
Yuriy Bash 2019-01-06 22:58:55 -05:00 committed by Agniva De Sarker
parent 8d671b6240
commit e26abe5a75

19
pages/osx/chflags.md Normal file
View file

@ -0,0 +1,19 @@
# chflags
> Change file or directory flags.
- Set the `hidden` flag for a file:
`chflags {{hidden}} {{path/to/file}}`
- Unset the `hidden` flag for a file:
`chflags {{hidden}} {{path/to/file}}`
- Recursively set the `uchg` flag for a directory:
`chflags -R {{uchg}} {{path/to/directory}}`
- Recursively unset the `uchg` flag for a directory:
`chflags -R {{nouchg}} {{path/to/directory}}`