Copy / move server side Perforce folders without local file synchronization

In the project I'm working on now, we have many folders in folders / branches and / tags (on the left after switching from Subversion to Perforce).

I want to clean up the clutter - I want to remotely move / copy / rename folders directly in the warehouse without receiving them locally. I can’t get them locally, because we are talking about hundreds of GB and possibly millions of files - dozens of x ~ 5GB branches.

Can I order Perforce to move folders only on the server?

(I do not have direct access to the Perforce machine, I cannot move folders on the server or update the Perforce database).

+8
version-control perforce
source share
2 answers

I think you can create a workspace that displays all the files in question. You can run sync -k so that Perforce thinks you have the files locally. Then you can run move -k to move the files to the server.

Just FYI, p4 copy creates a new branch, while p4 move moves the existing branch to a new location.

+2
source share

p4 copy -v allows you to copy files to the repository without synchronizing these files with your workspace. (For more details see copy link.

p4 delete -v allows you to delete files in the repository that are not synchronized with your workspace. (See delete link or KB Article # 1148 for more details.)

Also p4 move -k allows you to move files to the repository without moving them locally, but I'm not sure if this is applicable if you did not synchronize them with your workspace. (For more details, see move link.

You can also perform a move with copy followed by delete .

+7
source share

All Articles