Removing subfolders with same name
Show older comments
I have a series of folders with unique names but the sub folders have the same names:
Folder 1
Subfolder A
Subfolder B
Folder 2
Subfolder A
Subfolder B
How do I loop through all the folders to delete all of the Subfolder B's?
2 Comments
Jan
on 2 Apr 2021
You can do this easily in the explorer also, if you are working with Windows.
Nadeau Hahne
on 2 Apr 2021
Edited: Nadeau Hahne
on 2 Apr 2021
Accepted Answer
More Answers (0)
Categories
Find more on File Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!