Delete '. svn 'Directory on the linux Linux Solution 1: find. -type d-name ". svn "| xargs rm-rf Linux Solution 2: find. -type d-iname ". svn "-exec rm-rf {}\; Windows Solution 1: for/r. % a in (.) do @ if exist "% \. svn "rd/s/q" % \. svn "Windows Solution 2 (Save to" DeleteSVN. bat "file ): [plain] @ echo off echo ********************************* ************************* echo clears SVN version information echo ***** **************************************** **************: Start: startup process, switch Directory: set pwd = % cd %: cd % 1 echo working directory: chr (38) chdir: input: Get input, process data according to input: set source =: set/p source = confirm to be clear under the current directory. svn information? [Y/N/Q] set "source = % source: "= %" if "% source %" = "y" goto clean if "% source %" = "Y" goto clean if "% source %" = "n "goto noclean if" % source % "=" N "goto noclean if" % source % "=" q "goto end if" % source % "=" Q" goto end goto input: clean: in the main processing process, execute cleanup @ echo on @ for/d/r % c in (. svn) do @ if exist % c (rd/s/q % c chr (38) echo Delete directory % c) @ echo off echo "svn information in the current directory has been cleared" goto end: noclean: branch process, cancel cleanup echo "svn clear operation canceled" goto end:: Exit program cd "% pwd %" pause