Click or drag to resize

MoveFileCmdFlags Enumeration

Flags for the move command.

Namespace:  Perforce.P4
Assembly:  p4api.net (in p4api.net.dll) Version: 2025.1.277.3624
Syntax
[FlagsAttribute]
public enum MoveFileCmdFlags
Members
  Member nameValueDescription
None0 No flags.
Force1 The -f flag forces a move to an existing target file. The file must be synced and not opened. The originating source file will no longer be synced to the client.
Preview2 The -n flag previews the operation without moving files.
ServerOnly4 The -k flag performs the rename on the server without modifying client files. Use with caution, as an incorrect move can cause discrepancies between the state of the client and the corresponding server metadata.
MatchMoves8 The -M flag matches already opened files for add and delete in the default or specified changelist and reopens them as a move.
DisableParallel16 Auto parallel move is turned off by unsetting the net.parallel.threads configurable. A user may override the configured auto parallel move options on the command line, or may disable it via 'p4 move -M --parallel=0'.
See Also