dirs_cleaner: add page (#21995)

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
Ryan
2026-04-13 02:57:41 -04:00
committed by GitHub
parent 729aedc46e
commit 10eae3ed87
+9
View File
@@ -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 ...}}`