I want to find all folders within a given folder that contain no files (but folders are ok). This needs to be recursive - it looks in all child folders.
I can find folders that are completely empty using the Number if Items search criteria set to less than 1. However, this does not return folders that have other folders inside them.
I am basically trying to delete folders that had files in that I have deleted the contents from using a previous search.
find ~/Folder -name .DS_Store -delete
. – Lri Jan 20 '13 at 14:05