RMDIR(1)

πŸ“¦ version 1.053, in alpine 3.24

πŸ’– RMDIR(1) πŸ’–

ok so bestie, welcome to rmdir β€” that's the User Contributed Perl Documentation version of it, just so we're clear about which one you're holding. she removes directories. that's the whole gig. let's get into it πŸŽ€


✨ NAME ✨

rmdir β€” remove directories πŸ—‘οΈ


🌸 SYNOPSIS 🌸

rmdir [-p] directory ...

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea: rmdir removes the directories you hand it as arguments β€” but only if they're empty. that's the vibe check, and it's non-negotiable πŸ’…

try to remove a directory that still has stuff in it? that's regarded as an error. like, full stop. no cap. the directory has to be empty-empty, ghost town, nobody home 🫢

🧚 OPTIONS 🧚

rmdir accepts these options, and there's literally one of them so let's give her her moment:

  • -p β€” makes rmdir treat the arguments as path names, where all the non-empty components get removed. and the leftmost components get removed first. so like, it works its way through the path 🌈

πŸ’œ ENVIRONMENT πŸ’œ

good news bestie: rmdir is not influenced by any environment variables whatsoever. zero. none. she's unbothered, she's moisturised, she's in her own lane 😌✨


πŸ’€ BUGS πŸ’€

rmdir does not have any known bugs. iconic behaviour honestly πŸ”₯πŸ‘‘


⭐ STANDARDS ⭐

this rmdir implementation is compatible with the OpenBSD implementation β€” and that one's expected to be compatible with the IEEE Std1003.2-1992 standard, aka POSIX.2. so yeah, she's certified, she has her credentials, she's legit πŸŽ€


πŸ“ AUTHOR πŸ“

the Perl implementation of rmdir was written by Abigail, and if you need to reach her it's perlpowertools@abigail.be πŸ’Œ


this program is copyright by Abigail 1999.

and it's free and open software, periodt. you may use, copy, modify, distribute and sell this program (and any modified variants) in any way you wish β€” the only condition is that you do not restrict others to do the same. spread the love, don't gatekeep 🫢🌸


ngl this is one of the chillest manpages ever. no bugs, no env vars, one option. she's lowkey a main character for that πŸ’…βœ¨

and that's the page!! brought to you by perl v5.42.2, dated 2026-02-15, aka the RMDIR(1) of the User Contributed Perl Documentation collection β€” go forth and delete only the empty ones bestie, love u, byeee πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from