Delete files with a specific string
显示 更早的评论
In my directory I have 1000's of files, however some files are not needed and they all have the string "Yes_" in their file names, is there an easy way to delete all files that contain this phrase in their name?
2 个评论
Stephen23
2022-1-17
"is there an easy way to delete all files that contain this phrase in their name?"
delete *Yes_*.*
Ahmed Abdulla
2022-1-17
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 File Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!