Jump to content


Find unversioned files in a client

CLI query

  • Please log in to reply
3 replies to this topic

#1 amolode

amolode

    Advanced Member

  • Members
  • PipPipPip
  • 41 posts

Posted 08 July 2013 - 10:59 AM

Hi,
Is there any easy and convenient way to find out all the unversioned (private) files in a client view? Something similar to Rational ClearCase lsprivate command ?

#2 P4Matt

P4Matt

    Advanced Member

  • Members
  • PipPipPip
  • 1383 posts

Posted 08 July 2013 - 05:16 PM

'p4 status' will do that for you. Use 'p4 status -A' to have Perforce then add, edit, and delete as appropriate.

#3 amolode

amolode

    Advanced Member

  • Members
  • PipPipPip
  • 41 posts

Posted 09 July 2013 - 05:53 AM

View PostP4Matt, on 08 July 2013 - 05:16 PM, said:

'p4 status' will do that for you. Use 'p4 status -A' to have Perforce then add, edit, and delete as appropriate.
Thanks for your answer! Is p4 status a recently introduced command? I was not able to run it on my client Rev. P4/SOLARIS10SPARC/2010.1/251161 (2010/06/16).

#4 P4Matt

P4Matt

    Advanced Member

  • Members
  • PipPipPip
  • 1383 posts

Posted 09 July 2013 - 02:49 PM

Ouch! Yes, p4 status needs a 2012.1 server.

Here's the command cocktail for doing that in an older server:

http://answers.perfo...&fs=Search&pn=1





Also tagged with one or more of these keywords: CLI, query

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users