3 messages in com.perforce.perforce-user[p4] Finding non-p4 files in user cli...
FromSent OnAttachments
Karl Elvis MacRae14 Dec 2000 16:12 
Jeff Graver14 Dec 2000 16:37 
Steve Cogorno14 Dec 2000 16:52 
Subject:[p4] Finding non-p4 files in user clients
From:Steve Cogorno (Stev@Eng.Sun.COM)
Date:12/14/2000 04:52:07 PM
List:com.perforce.perforce-user

Jeff Graver said:

You could use Perforce to remove all depot files from the workspace then see if any files are left over.

Something like this should work:

#!/bin/sh

find $DIR ! -type d | p4 -x - files 1>/dev/null 2>/tmp/perforcefiles sed -n "s/\(.*\) - no such file.*/\1/p" /tmp/perforcefiles