[p4] Identifying non-perforce files

John Hopkins johnh at ca.sophos.com
Wed Oct 18 13:48:18 PDT 2006


> A modification to an earlier question. What I want to know is what are
> the files in my directory tree that are non-perforce without having to
> click my way thru the tree on the gui client?

You could run this from the command-line (tested on Linux):

$ find . -type f -o -type l | p4 -x- add -n | grep 'opened for add$'

John


More information about the perforce-user mailing list