Find empty folders: From ~/list folder:
find . -empty -type d
for listing empty directories and
find . -empty -type f
for listing empty files.
find . -type f -exec bash -c 'if [cat "{}" |wc -w -eq 0 ]; then echo "file - {}";fi' \; -or -empty -exec bash -c "echo dir - {}" \;
for listing empty folders and files including whitespaces and empty lines
Find empty folders and remove:
find . -empty -type d -exec rmdir {} \;