mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-29 04:21:03 +08:00
dirs_cleaner: add page (#21995)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# dirs_cleaner
|
||||
|
||||
> Recursively empty directories while the directories themselves are not deleted.
|
||||
> Note: On macOS 13 (Ventura) and later, `dirs_cleaner` is subject to AMFI launch constraints introduced in Ventura. The binary remains present at `/usr/libexec/dirs_cleaner` but cannot be invoked directly from a user session, including as root.
|
||||
> More information: <https://keith.github.io/xcode-man-pages/dirs_cleaner.8.html>.
|
||||
|
||||
- Recursively delete contents of folder structure without removing directories:
|
||||
|
||||
`sudo dirs_cleaner {{path/to/directory1 path/to/directory2 ...}}`
|
||||
Reference in New Issue
Block a user