Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In perforce how can I delete files from a directory in my workspace where the files are not part of the workspace?

Tags:

perforce

In perforce how can I delete files from a directory in my workspace where the files I want deleted are not part of the workspace?

I have a directory on my file system with files it gets from perforce but after some processes run, it creates some new files in those directories.

Is there a perforce command to remove these generated files that are not part of my workspace?

like image 600
Matt Avatar asked Jul 09 '10 23:07

Matt


People also ask

How do I delete files from my workspace?

Click the Files tab. Click the file that you want to remove. Select Remove from workspace from the Action menu.

What does perforce remove from workspace do?

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 for edit or delete.

How do you delete all files with a specific extension in the working directory?

To remove files with a specific extension, we use the 'rm' (Remove) command, which is a basic command-line utility for removing system files, directories, symbolic links, device nodes, pipes, and sockets in Linux. Here, 'filename1', 'filename2', etc. are the names of the files including full path.

What command is used to delete workspace files?

Use the Clear and Clear All buttons to remove items from the Items in Workspace area.


1 Answers

Perforce 2013.2 has a p4 status command, which is an alias for p4 reconcile -n

I don't know if it was available in earlier versions.

like image 69
cmcginty Avatar answered Sep 28 '22 03:09

cmcginty