Yeah, I'd thought about asking for this as well, like as maybe a "rmdir -r" or rmdir -rp
where either the want of recursion implied going up to ancestors (since decending along a chain
of directories would be a bit indeterminent, or requiring a redundant '-p', as well, as it would tell the program to delete parents (since going down wouldnt' make much since) from the dir specified back up to the current directory. If the current directory wasn't 'above' the specified dir, then it would die
as it isn't clear what is wanted. Obviously it can only follow a chain 'up' as long as nothing else is
in the parent besides the directory-parent (i.e. no other files or dirs).
But I've found asking for features usually doesn't work and sometimes results in work to preclude future
implementation of the feature. Reporting bugs also, often gets ignored until some large company reports
the same problem or until it causes a serious enough security incident.