sws unlock Command Options

This command unlocks files or folders in the workspace. When a file is locked in a workspace, it cannot be locked in any other workspaces nor can it be promoted from another workspace.

Note: All commands options can be entered in an abbreviated format. The abbreviated form is mentioned in the description. All commands and options are case-sensitive.

See Also
Unlocking Files and Folders in the Workspace
Understanding the sws unlock Command
Option Description
--restore, -r Restores the latest version of the file from the repository into workspace, replacing any local modifications. If there are local modifications and this option is not specified, the unlock command fails for the modifed files. --restore can be abbreviated as -r.

-- <path> [<path>...],

The path for the workspace object being unlocked. You can specify multiple object paths in a single command, space separated. You can specify the objects by full path or relative path.

Unlocked files are set to read-only in the unlocking workspace. If the path specified is a folder, all objects recursively within the folder are unlocked. The files are set to read-only and the folder and any subfolders remain in read/write mode.

Note: If any object in a list of objects fails to unlock, the operation continutes processing the other objects in the list.

--help, -h Displays simplified help focused on the most useful information.--help can be abbreviated as -h.