DirA
file1.txt
file2.conf
DirB
file3.txt
file4.sh
file5.sh
DirC
file6.bat
file7.txt
In above example dir I need to perform recursive delete with glob pattern.
pattern = ['*,txt','*.sh']
Using the above pattern I need to delete all the files with *.txt and *.sh formats in all the directory