In Perforce, how to find files with certain filetype+attribute? -
files stored in p4 depot decorated file type , optional attributes:
the above example <binary+s4>
.
how can search depot tree files have <binary+s4>
?
i want audit these files , change attributes of of them <binary+s10>
.
from command line (i'm on windows using cygwin's version of "grep" , "cut", should work on mac/unix too):
p4 -f %type%:%depotfile% files //... | grep ^binary+s4 | cut -d: -f2- | p4 -x - edit -t +s10
Comments
Post a Comment