When I add new files to my Perforce-managed project, how can I get a list of the new files that I have added (those that Perforce does not know yet), so I can make sure that I canβt miss anything in my change set ?
Something like svn status | grep ^ \? 'or' git status' to show unidentified unknown files.
Thank! -Casey
Find a similar question on SO and check out the other answers and comments. There is no direct command on the command line. But you can use powershell script or GUI for it.
, Teja. , , ,
find directory -type f | p4 -x- add
find directory -type l | p4 -x- add
. ( 'el', '' )
Perforce , . , , .
P4V " ...". " " "*.cs". - "none".
, , , , "*.cs; *.aspx". , . , , - , .
( "Reconcile Offline Work..." . P4V 2009 .)
p4 files
. - f | xargs p4 files 2 > & 1 | grep ' ()'
, .
. - f | xargs p4 files 2 > & 1 | grep 'no ()' | grep 'cpp'
Here's one unix liner with find and p4, fstat and awk that saved my bacon.
How to find junk files in the Perforce tree? (similar to svn status)