I am using Windows 10 and Mathematica 11.3.
I have many same named folders (suppose the name "data") in different subdirectories of a base directory (here "d:\dir").
How can I delete the content (containing only files) of all the folders named "data" without deleting themselves?
E.g. for three folders:
d:\dir\data filename1 filename2 d:\dir\tmp1\data filename3 filename4 d:\dir\tmp3\tmp2\data filename5 filename6 filename7
I would like to delete filename1 to filename7 whereby these names can be anything.