Deleting Content from a Workspace

You can use the sws delete command to delete managed objects from your workspace. Because the objects are managed, the deletion is also captured in the history of changes to the Semiconductor Item revision.


Before you begin:
  • You must have one or more workspaces containing the contents of the semiconductor items to be deleted.
  • The workspaces must be up to date. If the workspaces are not up to date, you get an error message indicating that you must update your local workspaces.
  • Lock any any objects being deleted either by explicitly locking the file or folder, or implicitly by locking the containing folder.
See Also
Locking Files or Folders in a Workspace
From the command-line client, run the delete command.

sws delete [--dir DIR] [--comment "text comment"|--cfile PATH]
[--force] [--verbose] path [path ...]
For more information on understanding the delete command, see Understanding the sws delete Command. For information on each specific option, see sws delete Command Options.

Result: When successful, the objects are deleted from the item workspace, the locks are removed, and the deletion is captured in the history of changes for the Semiconductor Item. When unsuccessful, it returns an appropriate error message explaining the issue.