[p4] Finding all p4 files in a workspace?
Looney, James B
james.b.looney at lmco.com
Tue May 29 09:45:53 PDT 2007
Well, "p4 have ..." Will give you all files that are within the
workspace and has the depot and workspace relative paths in it.
However, it will only tell you about 'active' (not deleted) files within
the depot (which also means, anything being added/integrated won't show
up until after submitting them for the first time), compared to "p4
files ..." which tells you about everything, including deleted files.
-JB
> -----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 8: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