Delete files with a specific string
Afficher commentaires plus anciens
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 commentaires
Stephen23
le 17 Jan 2022
"is there an easy way to delete all files that contain this phrase in their name?"
delete *Yes_*.*
Ahmed Abdulla
le 17 Jan 2022
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur File Operations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!