If
directory includes more than one pathname component, remove it, then strip
the last component and remove the resulting directory, etc., until
all components have been removed. Thus, rmdir -p a/b/c is
equivalent to rmdir a/b/c; rmdir a/b; rmdir a.
Normally
rmdir will refuse to remove a directory that is not empty. This option
causes
rmdir to ignore the failure to remove a directory, if that failure is due
to the directory being non-empty.
(New in file utils-4.0.)