Workspaces/Advanced Features/ws find
Jump to navigation
Jump to search
ws_find - Find Workspace Path
ws_find returns the full path to a workspace, useful for scripts and automation.
Basic Usage
$ ws_find myWs
This prints the full path to the workspace named myWs.
Options
- -F <filesystem> - Search workspace on specific filesystem
- -l - List valid filesystem names
Example in Scripts
$ WORKSPACE=$(ws_find myProject) $ cd "$WORKSPACE"
This is particularly useful in batch job scripts where you need to locate a workspace that was created on the login node. See Using Workspaces in Batch Jobs for more details.
Checking Available Filesystems
$ ws_find -l
Shows which filesystem locations are available for workspaces on your cluster. See Filesystems guide for more information about choosing filesystems.
For more information: $ ws_find -h or man ws_find