delete files
2 views (last 30 days)
Show older comments
How would I delete all files containing word "DIN" that are located in several subfolders of a directory?
0 Comments
Answers (2)
Daniel Shub
on 15 Nov 2011
I wouldn't use MATLAB for this ...
On Linux
find ./ -type f -name *DIN* -exec rm {} \;
I am not sure of the syntax of find on Windows, but I think it is similar.
0 Comments
See Also
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!