chflags: add page (#2682)
This commit is contained in:

committed by
Agniva De Sarker

parent
8d671b6240
commit
e26abe5a75
19
pages/osx/chflags.md
Normal file
19
pages/osx/chflags.md
Normal 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}}`
|
Reference in New Issue
Block a user