mkshadow
A shadow folder contains a reference copy of the current files in a repository. Create a shadow folder to provide read-only access to non-Surround SCM users or to provide a central location to build releases from. Files are automatically updated when changes are checked in to Surround SCM.
Before you add a shadow folder, you must create an empty directory that the shadow folder will be created in.
sscm mkshadow Path [-pRepository [-bBranch]] [-r|-r-] [-w|-w-] [-tcurrent|-tmodify|-tcheckin] [-h] [-y[Username:Password|+|=]] [-zSCMServerAddr:PortNum|zPath] [+u]
Option | Description |
---|---|
Path | Full path to server directory to create shadow folder in. Directory must be created on server before shadow folder is created. |
-b | Branch shadow folder is being created for. If not specified, default working directory branch is used. -p must be specified to use this option. |
-h | Display online help for the command. |
-p | Full path to repository, including parent repositories. If not specified, default working directory repository is used. |
-r | Recursively shadow all subrepositories. |
-t | Timestamp to add to shadow files: -tcurrent: Current time -tmodify: Time file was last modified -tcheckin: Time file was last checked in |
-w | Text file end-of-line format: Windows, Unix, Mac, WindowsAppend, UnixAppend, or MacAppend. Append options add an extra end-of-line value when getting a file (if needed). |
-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. |