[p4] Finding all p4 files in a workspace?
Dave Lewis
dlewis78731 at gmail.com
Tue May 29 13:20:25 PDT 2007
p4 files will only tell you about files in the depot, so files open
for add do not show up.
p4 have lists the files that were synced to your client, and their
revisions, in both depot and
file syntax, so that can be helpful sometimes.
dave
On 5/29/07, Looney, James B <james.b.looney at lmco.com> wrote:
> 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
> >
> _______________________________________________
> 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