sws lock Command Options

This command locks files or folders in the workspace. When a file is locked, no other users or workspaces can lock the object or replace the server object.

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
Locking Files or Folders in a Workspace
Understanding the sws lock Command
Option Description

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

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

Locked objects are set to writeable in the locking workspace. If the path specified is a folder, all objects recursively within the folder are locked. While a file is locked in your workspace, no other users can check in changes or lock the file in one of their workspaces. The object must be up-to-date to be locked.

Note: If any object in a list of objects fails to lock, the other objects in the list are still successfully locked.

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