Is there any easy command to delete all the files that are called asd.xsd from repository recursively from SVN repository.
It is annoying to go inside each folder right click and select tortoise svn delete command.
There must a be a command to look for the all files named asd.xsd and delete them from repository.
You could use Get-ChildItem -Recurse
:
foreach($FilePath in (Get-ChildItem -Path "C:\svn\repo" -Include "asd.xsd" -Recurse |Select-Object -ExpandProperty "FullName")){
svn del $FilePath
}
The FullName
property contains the path to the file in question
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.