Jump to content


How to see deleted files under a depot on a command line in Linux

Command Linux deleted list no p4v

  • Please log in to reply
3 replies to this topic

#1 vinodarokiya

vinodarokiya

    Member

  • Members
  • PipPip
  • 15 posts
  • LocationBangalore

Posted 08 July 2013 - 10:11 AM

Hi,

Is there a command to find list of files that were deleted under a depot.
I know its easily seen on p4v visual client but I wanna the same as a output on Command line.

I just tried combination of p4 dirs,p4 files,p4 changes etc... but I am not getting a valid Output.

Just like how,I get list of changes happened under a depot  from one date/changelist to one more timestamp/changlist.

Thanks,
Vinod...
Thanks
V!nu...

#2 P4Matt

P4Matt

    Advanced Member

  • Members
  • PipPipPip
  • 1383 posts

Posted 08 July 2013 - 06:39 PM

p4 files ... | grep ' - delete'

That will get you all of the files that are currently deleted at the head revision. Try that and let me know if it is the output you're looking for.

#3 vinodarokiya

vinodarokiya

    Member

  • Members
  • PipPip
  • 15 posts
  • LocationBangalore

Posted 10 July 2013 - 10:01 AM

Thanks Matt... I was just looking for deleted files in a depot between two dates.
Thanks
V!nu...

#4 P4Matt

P4Matt

    Advanced Member

  • Members
  • PipPipPip
  • 1383 posts

Posted 10 July 2013 - 04:13 PM

Ahh that old chestnut. p4 files ...@2012/01/01,2012/07/01 | grep ' - delete' will do the trick.





Also tagged with one or more of these keywords: Command, Linux, deleted, list, no p4v

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users