Go to the first, previous, next, last section, table of contents.


rmdir: Remove empty directories

rmdir removes empty directories. Synopsis:

rmdir [option]... directory...

If any directory argument does not refer to an existing empty directory, it is an error.

The program accepts the following option. Also see section Common options.

`-p'
`--parents'
Remove any parent directories that become empty after an argument directory is removed.

See section rm: Remove files or directories, for how to remove non-empty directories (recursively).


Go to the first, previous, next, last section, table of contents.