Using Agent Ransack in Pro mode to find the non-empty folders you follow these steps:
Search for all files in the given folder tree, e.g.
File name:
Containing Text:
Look In: C:\Root
Choose the menu option File->Export Results...
Choose the Format 'Custom (XSLT)' and pick the sample transform unique_folders_only.xml
