bashutils ###BASH repo to store useful bash shell scripts for diverse tasks rm-empty-dirs.bash Example: Recursively empty directories rm-empty-dirs.bash /tmp/mydir Note: if there are multiple layers of empty directories you need to run the script multiple times.