I have a list of ignore rules in a p4ignore.txt
per http://www.perforce.com/perforce/doc.current/manuals/cmdref/env.P4IGNORE.html
I would like to list the files in my workspace matched by the ignore rules. How can I do that?
(In Git, this is easy https://stackoverflow.com/a/2196755/284795 )
As I understand p4 status
lists files in the workspace that either
- exists in the repository (depot) and differ from it
- don't exist in the repository and aren't matched by the ignore rules
I would like to list files in the workspace that are matched by the ignore rules, whether they exist in the repo or not.