SVN command to delete all locally missing files

后端 未结 12 2371
说谎
说谎 2020-12-12 09:13

In SVN is there a command I can use to delete all locally missing files in a directory?

Or failing that, some way of listing only those files that are missing (or, i

12条回答
  •  無奈伤痛
    2020-12-12 10:04

    I like the PowerShell option... But here's another option if you're using Windows batch scripts:

    svn status | findstr /R "^!" > missing.list
    for /F "tokens=2 delims= " %%A in (missing.list) do (svn delete %%A)
    

提交回复
热议问题