delete files

4 visualizzazioni (ultimi 30 giorni)
Baba
Baba il 15 Nov 2011
How would I delete all files containing word "DIN" that are located in several subfolders of a directory?

Risposte (2)

Walter Roberson
Walter Roberson il 15 Nov 2011
Use rdelete from this contribution

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

Categorie

Scopri di più su Environment and Settings in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by