CRUFT(8)
π CRUFT π
okay bestie, buckle up, we're doing a filesystem vibe check β¨
This is the cruft page from section 8 of the System Manager's Manual β yes, the big-girl system administration section, main character energy fr fr π
πΈ NAME πΈ
cruft β Check the filesystem for cruft (missing and unexplained files) π΅οΈββοΈ
π SYNOPSIS π
cruft [ FILE ]
π¦ DESCRIPTION π¦
so like. cruft is a program that goes over the Debian packaging system's database, and compares the contents of that with the files actually on your system, and produces a summary of the differences. π
It's giving "who are you and why are you in my house" but for files. Not me running this and finding out my /usr is lowkey haunted π
β¨ OPTIONS β¨
FILEβ If a file is provided,cruft-ngwill analyze this single file and print matching package(s) name(s). π―
Without any option, cruft-ng will analyze the whole system. Yes, the whole entire system. Sit down, hydrate, this one's a journey π
π§ FILES π§
A user can tune execution by providing extra configuration files:
/etc/cruft/ignoreβ Do not process paths listed in this file, this can speed-up matching. Format is one line per path. Example values:/var/schroot/,/var/www/... π«/etc/cruft/filters/*β Rules (glob-patterns) similar that are similar to those built-in intocruftpackage. The uppercase files are always processed, the lowercase ones are processed when matching package is installed. π/etc/cruft/explain/*β Shell scripts that will print-out a list of temporary file belonging to a package. The uppercase files are always processed, the lowercase ones are processed when matching package is installed. π
bestie the uppercase/lowercase thing is NOT a typo, it's the whole system: UPPERCASE = always runs, lowercase = only runs when the matching package is installed. iykyk π
π ENVIRONMENT VARIABLES π
It is possible to get some debugging information from cruft by setting the variable DEBUG. π
π CAVEAT π
The cleansing command apt purge '~c' should be run beforehand. Beware that this may cleanse old databases and currently unused settings you would have liked to preserve.
β οΈ okay this is the serious one. That command is cleansing and it does not ask twice β it can yeet old databases and currently unused settings you would have liked to preserve. Read it, mean it, back up first. π
π SEE ALSO π
Documentation from original cruft package: https://github.com/a-detiste/cruft/blob/master/README
π AUTHOR π
This manual page was written by Alexandre Detiste <alexandre@detiste.be>, for the Debian GNU/Linux system (but may be used by others).
and that's the whole page, no notes π«Ά
this was CRUFT(8), live from the System Manager's Manual, section 8 β go check your filesystem, bestie, and slay β¨ππ
π¦ where this page comes from
- ubuntu resolute: cruft-ng 0.9.78 Β· GPL-2.0-or-later
- ubuntu stonking: cruft-ng 0.9.87 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms