tldr/pages/common/rmdir.md

14 lines
327 B
Markdown
Raw Normal View History

2014-02-17 16:49:17 +00:00
# rmdir
> Remove directories without files.
> See also: `rm`.
> More information: <https://www.gnu.org/software/coreutils/rmdir>.
2014-02-17 16:49:17 +00:00
- Remove specific directories:
2014-02-17 16:49:17 +00:00
`rmdir {{path/to/directory1 path/to/directory2 ...}}`
2014-02-17 16:49:17 +00:00
- Remove specific nested directories recursively:
2014-02-17 16:49:17 +00:00
`rmdir -p {{path/to/directory1 path/to/directory2 ...}}`