Skip to content

Instantly share code, notes, and snippets.

@aurmil
Created June 21, 2018 07:09
Show Gist options
  • Save aurmil/f14566e3b3cda6faea0bf10706d029ea to your computer and use it in GitHub Desktop.
Save aurmil/f14566e3b3cda6faea0bf10706d029ea to your computer and use it in GitHub Desktop.
Update all SVN projects in a folder
@ECHO off
SETLOCAL enabledelayedexpansion
SET svnFolders=
FOR /D %%G IN ("C:\Users\xyz\Documents\abcd\*") DO (
IF EXIST %%G"\.svn" (
SET svnFolders=!svnFolders!%%G*
)
)
REM echo %svnFolders%
START TortoiseProc.exe /command:update /path:%svnFolders% /closeonend:0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment