[p4] Searching server for additional file fields

Philip Lutas plutas at reflectionsinteractive.com
Mon Apr 23 09:15:52 PDT 2007


I'm now looking into storing and retrieving additional data that is attached
to files when checking-in to Perforce.

So far I've got as far as using the 'attribute' command to store the
additional data and 'fstat' to read it back on a per-file basis.

My question however, is how can I go about retrieving a list of files with a
given data input? For instance searching for all files in a depot that have
the 'foo' field set to 'bar'. I could scan through every file on a depot and
retrieve the fstat for each but was wondering if there's a command for such
a thing?

-Phil



More information about the perforce-user mailing list