$manlookup

rmdir

(1)

remove empty directories

User commands5 optionscoreutils 9.7-3
rmdir [OPTION]... DIRECTORY...

Options

5
--ignore-fail-on-non-empty

ignore each failure to remove a non-empty directory

-p--parents

remove DIRECTORY and its ancestors; e.g., 'rmdir -p a/b' is similar to 'rmdir a/b a'

-v--verbose

output a diagnostic for every directory processed

--help

display this help and exit

--version

output version information and exit

DESCRIPTION

Remove the DIRECTORY(ies), if they are empty.

ignore each failure to remove a non-empty directory
remove DIRECTORY and its ancestors; e.g., 'rmdir -p a/b' is similar to 'rmdir a/b a'
output a diagnostic for every directory processed
display this help and exit
output version information and exit

AUTHOR

Written by David MacKenzie.

REPORTING BUGS

GNU coreutils online help: https://www.gnu.org/software/coreutils/
Report any translation bugs to https://translationproject.org/team/

See also