Powered By Blogger

Thursday, 3 March 2011

delete specific directory by finding in folders

FOR /F "tokens=*" %%G IN ('DIR /B /AD /S *.svn*') DO RMDIR /S /Q "%%G"

Cpoty this text in a batch for windows or ina sh file on linux and just put this file into a folder in which you want to search and delete the directory.

No comments:

Post a Comment