tldr/pages/linux/rmdir.md
Emily Grace Seville 1ae9202d7e
rmdir: add/refresh pages (#7993)
* Create `rmdir` copy with long options

* Refresh pages:
- update title
- add `See also` link
- use brace expansion in examples
- refresh descriptions

* Use imperative mood in titles

* Don't use brace expansion
2023-01-08 01:33:17 +10:00

334 B

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 ...}}