Am 18.01.21 um 11:53 schrieb L A Walsh:
Except that 'find DIR -depth -type d -exec rmdir {} +' is anything but simple and not something anyone outside of a minority of *nix users would have a clue about how to create, whereas 'rmdir -r DIR' is both direct and simple and more easily understandable by those who know how to remove a directory and recursively remove files. Applying the -r option of 'rm' and 'rd's focus on dirs seems a natural combination.
+1 Ulf