DIRS_CLEANER(8)
π NAME π
Okay so bestie, this is dirs_cleaner(8) from the System Manager's Manual, and it's literally the utility that can remove contents of directories. That's the whole name-and-purpose moment. Periodt. π
β¨ SYNOPSIS β¨
dirs_cleaner path ...
π¦ DESCRIPTION π¦
So here's the tea: the dirs_cleaner utility recursively deletes the entire contents of each directory argument, while the directories themselves are not deleted. Slay, but make it "contents only." π
A cleaned directory may be re-created in the process of cleaning; if so, it gets a new inode number. Not me warning you about the inode glow-up β it's just what happens. π
Recursive traversals do not cross mount points. No mount-point hopping, bestie. π«π¦
Each directory is identified directly or via a symbolic link. Simple as that. π«
When it's all done, dirs_cleaner exits with one of the following values:
0β each input directory was successfully cleaned β>0β an error occurred π
Okay that's the whole page, bestie! This icon was brought to you by Debian, dated February 8, 2021 β mwah ππ
π¦ where this page comes from
- nixpkgs unstable: diskdev_cmds 757
- (c) 2021 Apple Computer, Inc. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms