---
name: "uu-rmdir"
section: "1"
platform: "linux"
package: "uutils-coreutils"
version: "0.12.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/uu-rmdir"
---

# uu-rmdir(1)

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

## NAME

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

## SYNOPSIS

**rmdir** \[OPTION\]... DIRECTORY...

## 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

- \<*dirs*\>

  ## VERSION

v(uutils coreutils) 0.12.0
