[Getting Started]  [How To...]  [Browser Tips]  [Glossary]  [Road Map]  

Removing Files from Your Workspace

The Remove Workspace Files command allows you to delete files from your local client workspace. (The files are not deleted from the depot; merely removed from your local copy of the portion of the depot in your client workspace.) In Perforce terminology, this is also referred to as "removing a file by "syncing to the null revision".

The advantage of using the Remove Workspace Files command over deleting the file with commands native to your operating system is that by using Perforce, the Perforce server is aware that you've removed the file from your workspace.

More specifically - if you delete a file with the native operating system commands, Perforce has no way of knowing that your workspace is no longer in sync with the depot. A Sync command can therefore result in an erroneous "file(s) up to date" message. By removing files from your workspace within Perforce, Perforce will know about it, and Sync command will work normally.

Command:

When you are ready to remove the files from your workspace, click on the Remove From Workspace button.

Files:

Specifies which files will be removed. Choose between:

Remove files in //client-path:

Selected Files:

If you have any files synced in the current directory, you can specify whether or not to remove them individually.

To include or exclude individual files from removal, click on the checkboxes for each file, and activate the radio button for the Selected Files option.


Copyright 2000 Perforce Software. All rights reserved.