Skip to content

Tag: find

All the articles with the tag "find".

Recursively delete all empty subdirectories

Recursively delete all empty subdirectories

ยท Updated:

Empty directories pile up after file migrations. Prune them with find and rmdir, dry-run first, use find -delete, and handle hidden dirs without surprises.