delete files

조회 수: 4 (최근 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 CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by