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?
Click the Files tab. Click the file that you want to remove. Select Remove from workspace from the Action menu.
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.
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.
Use the Clear and Clear All buttons to remove items from the Items in Workspace area.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With