Moving Workspaces
Perforce IPLM workspaces can be moved from the directory in which they are originally built. A workspace moved outside of Perforce IPLM can be re-registered in its new location using the workspace move command.
Workspace Move Overview
It is sometimes convenient to move a Perforce IPLM workspace from one location on disk to another without having to rerun 'pi ip load' or 'pi snap load'. Perforce IPLM supports either directly moving the workspace or re-registering a workspace that was moved outside of Perforce IPLM. If a workspace is found to have been moved on the file system without re-registering it with Perforce IPLM, Perforce IPLM suggesst using the 'pi ws move' command to do so.
Command Line
The 'pi ws move' command is used to move or re-register already moved Perforce IPLM workspaces.
> pi ws mv -h Usage: pi workspace move [-h] [src] [dest] Description: Move a Workspace to a new location. This can be used in two different ways : - When provided with two directories, Pi will move the Workspace from the source directory to the destination directory. - When no directories are provided, Pi will update the data of the Workspace the current directory is in. This is used after a UNIX mv command. Calling pi ws mv with only one directory is not allowed. Positional arguments: src The source Workspace directory. dest The target Workspace directory. Optional arguments: -h, --help Show this help message and exit Examples: # Move a Workspace from /tmp/ws1 to /tmp/ws2 pi ws mv /tmp/ws1 /tmp/ws2 # Update the Workspace data on PiServer after UNIX mv pi ws mv