rmdir
Removes a directory.
- Remove directory, provided it is empty. Use `rm -r` to remove non-empty directories:
rmdir {path/to/directory}
- Remove the target and its parent directories (useful for nested dirs):
rmdir -p {path/to/directory}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).