RMDIR(1)
π 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β makesrmdirtreat 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 π
π COPYRIGHT and LICENSE π
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
- alpine 3.24: perl-power-tools-doc 1.053-r1 Β· GPL-2.0-or-later AND Artistic-1.0-Perl AND Artistic-2.0 AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms