Command line to update SVN folders

Question:

I have tried several things so far, but I haven’t had much luck yet. I’m attempting to have a command line or PowerShell script that I can run once a day to make sure my numerous checked-out projects are up to date.

I know I would be looping through the directory folders inside my workspace, but when setting the variables I haven’t had any luck as it will error out. I am using TortoiseSVN, and Windows Vista.

Here is what I have so far:

Answer:

It might be easier in PowerShell:

Or if you want to specify certain project directories:

PowerShell scripts have a ps1 extension. You might also have to update the execution policy to allow scripts to run:

Source:

Command line to update SVN folders by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply