In Perforce, how to find files with certain filetype+attribute? -


files stored in p4 depot decorated file type , optional attributes:

enter image description here

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

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -