# this removes directories which are empty
find "$@" -type d -depth -print0 | xargs -0 rmdir --ignore-fail-on-non-empty
