Over a million developers have joined DZone.

Delete Empty Directories (UNIX)

·
// Shell command to delete empty directories. May have to run several times to get everything.


find . -type d -empty | xargs rmdir -
Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}