linux how to empty a directory code example Example: remove empty folders linux find . -type d -empty -print -delete