tldr/pages/common/rmdir.md

12 lines
221 B
Markdown
Raw Normal View History

2014-02-17 16:49:17 +00:00
# rmdir
> Removes a directory.
2014-02-17 16:49:17 +00:00
- Remove directory, provided it is empty. Use `rm` to remove not empty directories:
2014-02-17 16:49:17 +00:00
`rmdir {{directory}}`
- Remove directories recursively (useful for nested dirs):
2014-02-17 16:49:17 +00:00
`rmdir -p {{path}}`