title: Perforce - How to get the list of files that have been modified locally?
body: <p>I am looking for a perforce command to get the list of the files that have been modified locally and "not" checked-in to the repository.</p>
  
  <p>I understand that I "should" get the list of modified files in Pending changelist, but there are scenarios when I don't get to see a modified file in that list. And then on "manually" checking out a file and doing a diff i realize the difference.</p>
  
  <p>Is there any command that could check all the files in a given folder and provide me a list of files that are not same as there state in the repository?</p>
  
  <p>I tried "p4 sync", but that did not work.</p>
  
  <p>Thanks for your interest.</p>