The p4v Perforce GUI client has an \'Actions > Remove from Workspace\' menu command which removes all files from the workspace that are under version control and were not opened
The easy way to find GUI equivalent commands (p4 CLI commands)
is to look at log tab in P4V. When we take any action on P4V GUI,
the "log" tab shows the corresponding P4 CLI command being executed.