$ find . -type d -empty

Delete all empty files in a directory

$ find . -type f -empty -delete
Comments