This command will find the empty directory and delete it recursively
find . -type d -empty -delete --> Recursively
find . -empty -type d -exec rmdir {} + --> From current Dir
find . -depth -type d -empty -exec rmdir -v {} +
Find all files of type <*.txt or what ever you like>
find . -name \*.txt -print --> In place of *.txt you can specify extention
you like to search
find . -type d -empty -delete --> Recursively
find . -empty -type d -exec rmdir {} + --> From current Dir
find . -depth -type d -empty -exec rmdir -v {} +
Find all files of type <*.txt or what ever you like>
find . -name \*.txt -print --> In place of *.txt you can specify extention
you like to search