I have a collection of folders which contain subfolders and files.
I want for each folder that contains subfolders to remove them but keep the files in this folder.
For exemple, from this :
I want this :
ps : I put underscore to see the "tree"