So I just want to know if there's a way that I can get the name of the directory or a folder.
So for example I have these folders in my directory
test1_ew test2_ter test3_ew
So I just want to get the folders that have "_ew" on their names. So basically I want to check all the folder names in my current directory if there's a _ew on their names.
If such folder(s) exist, I would like to run an executable file inside the folder(s).
Thank you in Advance!