---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# rmdir

> Remove directories without files.
> See also: `rm`.
> More information: <https://www.gnu.org/software/coreutils/rmdir>.

- Remove specific directories:

`rmdir {{path/to/directory1 path/to/directory2 ...}}`

- Remove specific nested directories recursively:

`rmdir --parents {{path/to/directory1 path/to/directory2 ...}}`
