Files stored in P4 depot are decorated with file type and optional attributes:

The above example is for <binary+S4>.
How can I search the depot tree for all files which have <binary+S4>?
I want to audit these files and change attributes of some of them to <binary+S10>.
p4 fstat should solve it for you.
So a command like this would show you all of the writable text files.
p4 fstat -F "headType=text+w" //DEPOT/...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With