delete files

8 ビュー (過去 30 日間)
Baba
Baba 2011 年 11 月 15 日
How would I delete all files containing word "DIN" that are located in several subfolders of a directory?

回答 (2 件)

Walter Roberson
Walter Roberson 2011 年 11 月 15 日
Use rdelete from this contribution

Daniel Shub
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.

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by