workdir
Set a working directory before you start working with files. The working directory is generally mapped to a local drive, but can also be mapped to a different location such as a network drive.
sscm workdir Directory Repository [-bBranch] [-g] [-h] [-q] [-r] [-o] [-y[Username:Password|+|=]] [-zSCMServerAddr:PortNum|zPath] [+u]
Option | Description |
---|---|
Directory | Full path to local directory. Enter . to use current directory. |
Repository | Full path to repository, including parent repositories. |
-b | Branch that contains repository to set working directory for. |
-g | Get files to working directory. |
-h | Display online help for the command. |
-q | Use quiet mode. Does not display results after setting the working directory. |
-r | Allow child repositories to inherit working directory. |
-o | Override conflicting working directory location. A conflict occurs if working directory is already assigned to a repository in a different branch. |
-y | Enter a Surround SCM username and password if you do not want to use the default value. To use single sign-on, enter -y+. If you use an identity provider to authenticate, the provider web page opens if you have not yet authenticated. Authenticate with the provider and then return to the CLI. |
-z | Enter the Surround SCM Server host computer address and port number if you do not want to use the default value. IPv6 addresses must be in square brackets. If you received a server settings file from your Surround SCM administrator, enter the path to the XML file instead of entering the server connection information. |
+u | Display output in Unicode (Windows only). Output cannot be sent to a file. If output is enabled for all commands, enter +u- to disable it for this command. |