--ignore-fail-on-non-empty
Ignore each failure that is solely because a directory is non-empty.
An option of rmdirx.
Usage
rmdirx --ignore-fail-on-non-empty DIRECTORY...Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
--ignore-fail-on-non-empty | none | ignore each failure that is solely because a directory is non-empty |
Examples
Clean up whatever is empty without failing on the rest
rmdirx --ignore-fail-on-non-empty cache logs tmpPrune parents as far as they are empty, stopping quietly at the first that is not
rmdirx -p --ignore-fail-on-non-empty keep/subHelp in the terminal
gnux help rmdirx --ignore-fail-on-non-empty