PRUNEEMPTYDIRS(1)

πŸ“¦
version 26.08.2 Β· 2 versions
  • 26.08.2 Β· arch rolling, debian bookworm, debian trixie, epel 10, epel 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 26.04.2 Β· alpine 3.24
, in arch rolling, debian bookworm, debian trixie, epel 10, epel 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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 of remove commands. you can copy-paste those commands, or feed them to eval in 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