PRUNEEMPTYDIRS(1)
π PRUNEEMPTYDIRS π
okay bestie, so this is the PRUNEEMPTYDIRS(1) page and it's genuinely such a useful little gremlin, let me tell you everything π«Ά
β¨ NAME β¨
pruneemptydirs β the tool that sniffs out stale source directories in your CVS tree π΅οΈββοΈ
πΈ SYNOPSIS πΈ
pruneemptydirs [-f]
that's it, that's the whole vibe. one optional flag. iconic behavior honestly π
π¦ DESCRIPTION π¦
so basically, pruneemptydirs is your cleanup bestie for a local CVS tree. it goes looking for directories that are just remnants of old stuff β things that got removed from the CVS but whose little directory ghosts are still haunting your working copy π». and those stale directories? they often break compilation. rude of them, fr fr.
it examines the current directory and everything beneath it, so it's giving full-scope, no directory left behind. π
not me reminding you that this tool does not remove anything!! it literally just prints what you should do as a series ofremovecommands. you can copy-paste those commands, or feed them toevalin a script. it's giving "here's the plan, you execute it" π
also, real talk: this tool works better if your source directory is not the same as your build directory, because then it won't print out directories that are just holding old executables. so if you can separate those two, do it, slay β¨
oh and ps β this utility is part of the KDE Software Development Kit π
π OPTIONS π
-fβ actually do the deletions instead of just printing them out. use this option with care, bestie, I'm so serious π it's the difference between "here's a list" and "oops it's gone"
π AUTHORS π
pruneemptydirs was written by David Faure <faure@kde.org> π
this manual page was prepared by Ben Burton <bab@debian.org> πΈ
π AUTHOR π
Ben Burton <bab@debian.org>
- Author.
okay that's the whole page, you're fully caught up π₯° this was the [FIXME: source] situation, dated 2003-04-08, and yeah β the manual name is PRUNEEMPTYDIRS(1). go forth and prune, but like, carefully ππ
π¦ where this page comes from
- arch rolling: kde-dev-scripts 26.08.2-1 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- debian bookworm: kdesdk-scripts 4:22.12.3-1 Β· GPL-2.0-or-later
- debian trixie: kdesdk-scripts 4:25.04.0-1 Β· GPL-2.0-or-later
- epel 10: kde-dev-scripts 26.08.1-1.el10_3 Β· GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.0-only AND BSD-2-Clause
- epel 9: kde-dev-scripts 23.08.5-1.el9 Β· GPLv2+ and GPLv2+ and BSD
- fedora 43: kde-dev-scripts 25.08.2-1.fc43 Β· GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.0-only AND BSD-2-Clause
- fedora 43: kde-dev-scripts 26.04.3-1.fc43 Β· GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.0-only AND BSD-2-Clause
- fedora 44: kde-dev-scripts 25.12.3-1.fc44 Β· GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.0-only AND BSD-2-Clause
- fedora 44: kde-dev-scripts 26.08.1-1.fc44
- fedora 44: kde-dev-scripts 26.08.2-1.fc44 Β· GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.0-only AND BSD-2-Clause
- nixos 26.05: kde-dev-scripts 26.04.3
- nixpkgs unstable: kde-dev-scripts 26.08.2
- opensuse-leap 16.0: kdesdk-scripts 25.04.3-bp160.1.2 Β· GPL-2.0-only AND GFDL-1.2-only
- opensuse-leap 16.0: kdesdk-scripts 25.04.3-bp160.1.2 Β· GPL-2.0-only AND GFDL-1.2-only
- opensuse-leap 16.0: kdesdk-scripts 25.04.3-bp160.1.2 Β· GPL-2.0-only AND GFDL-1.2-only
- opensuse-leap 16.0: kdesdk-scripts 25.04.3-bp160.1.2 Β· GPL-2.0-only AND GFDL-1.2-only
- ubuntu jammy: kdesdk-scripts 4:21.12.3-0ubuntu1 Β· GPL-2.0-or-later
- ubuntu noble: kdesdk-scripts 4:23.08.5-0ubuntu1 Β· GPL-2.0-or-later
- ubuntu questing: kdesdk-scripts 4:25.08.1-0ubuntu1
- ubuntu resolute: kdesdk-scripts 4:25.12.3-0ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: kdesdk-scripts 4:26.08.1-0ubuntu1 Β· 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