I am trying to move a directory into another directory in perforce. This is by the command line. The only command I can find to move items is the move command, which only moves individual files. Is their a way to just move all of the files in one directory to another? My directory structure has many levels and it would be tedious to have to issue the command to move each one.
You can use p4 move
to move whole tree. But before that, all files in the moved directory have to be opened for edit or add.
For example:
p4 edit //xyz/...
p4 move //xyz/... //abc/...
will move all already tracked files in //xyz
and its subdirectories.
(cfr the documentation :)
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