mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-10-30 18:53:35 +08:00
chflags: add page (#2682)
This commit is contained in:
committed by
Agniva De Sarker
parent
8d671b6240
commit
e26abe5a75
@@ -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