Workspaces/Advanced Features/ws find: Difference between revisions
Jump to navigation
Jump to search
(Created page with "= ws_find - Find Workspace Path = <tt>ws_find</tt> 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 <tt>myWs</tt>. == Options == * <tt>-F <filesystem></tt> - Search workspace on specific filesystem * <tt>-l</tt> - List valid filesystem names == Example in Scripts == $ WORKSPACE=$(ws_find myProject) $ cd "$WORKSPACE" This is particularly useful in ba...") |
(No difference)
|
Revision as of 15:16, 2 December 2025
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