Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Perforce adding a folder to depot

Tags:

perforce

I am new to Perforce. Could you add a new folder under the branch in the depot? I also tried to add one in my workplace but how could I get it to the depot? Do I have to do a merge/integrate or something?

Thanks.

like image 697
NewDTinStackoverflow Avatar asked Aug 15 '12 17:08

NewDTinStackoverflow


1 Answers

p4 add doesn't support recursive add .

Here's a unix shell work-around to run from within the root folder you want to add:

find . -type f -print | p4 -x - add
like image 183
Gene Bo Avatar answered Oct 20 '22 05:10

Gene Bo