There's a directory that has several subdirectories. These subdirectories' names are the date that the subdirectory was created. Now I want to list the subdirectories created in 'June' of 2021 and are not empty, so their names all contain this: 202106*. How can I do this? The command I use to list non-empty directories is this:
find . -mindepth 1 -maxdepth 1 -not -empty -type d
But I don't know how to set the name condition.