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 –

Tags:

Leave a comment