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:
parent
8d671b6240
commit
e26abe5a75
1 changed files with 19 additions and 0 deletions
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}}`
|
Loading…
Add table
Reference in a new issue