Manual: rust-rmdir
RMDIR(1) General Commands Manual RMDIR(1)
NAME
rmdir - Remove the DIRECTORY(ies), if they are empty.
SYNOPSIS
rmdir [--ignore-fail-on-non-empty] [-p|--parents] [-v|--verbose] [-h|--help] [-V|--version]
DESCRIPTION
Remove the DIRECTORY(ies), if they are empty.
OPTIONS
--ignore-fail-on-non-empty
ignore each failure that is solely because a directory is non-empty
-p, --parents
remove DIRECTORY and its ancestors; e.g., 'rmdir -p a/b/c' is similar to rmdir a/b/c a/b a
-v, --verbose
output a diagnostic for every directory processed
-h, --help
Print help
-V, --version
Print version
VERSION
v(uutils coreutils) 0.8.0
2026-04-16 RMDIR(1)