delete files
2 次查看(过去 30 天)
显示 更早的评论
How would I delete all files containing word "DIN" that are located in several subfolders of a directory?
0 个评论
回答(2 个)
Daniel Shub
2011-11-15
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 File Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!