Find all files in the current directory and its subdirectories, execute the dirname command on each file, and output the unique directory names in sorted order.
find . -name "*" -exec dirname {} \; | sort -u