diff --git a/pages/cli/delete-empty-directories.md b/pages/cli/delete-empty-directories.md new file mode 100644 index 0000000..3a0e642 --- /dev/null +++ b/pages/cli/delete-empty-directories.md @@ -0,0 +1,7 @@ +# Delete empty directories + +```bash +find . -type d -empty -delete +``` + +This recursively finds and deletes empty directory.