[p4] Finding all p4 files in a workspace?
Jeff Grills
jgrills at drivensnow.org
Tue May 29 07:32:48 PDT 2007
You could use "p4 fstat #have" and process lines that start with "...
clientFile ".
j
-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Roy Smith
Sent: Tuesday, May 29, 2007 9:12 AM
To: perforce-user at perforce.com
Subject: [p4] Finding all p4 files in a workspace?
Is there any way to have p4 print a list of all files in a given
workspace? I know about "p4 files", but that prints the filenames in
depot syntax. I need them as file system pathnames, so I can pipe
the list through xargs and perform an action on every file in the
workspace.
-------------------
Roy Smith <smith_roy at emc.com>
Software Guy, EMC Common Management Group
44 South Broadway, 7th floor
White Plains, NY 10601
(914) 580-3427
AIM: roysmith649
_______________________________________________
perforce-user mailing list - perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user
More information about the perforce-user
mailing list