[p4] How do i find corrupt depot files

Stephen Vance steve at vance.com
Thu Oct 1 05:53:20 PDT 2009


Look at 'p4 verify -q //...'. Ckeck the Admin Guide for more details.

Stephen Vance

On Oct 1, 2009, at 8:20, Anders Kjærgaard Hansen <ANH at etiglobal.net>  
wrote:

> Hi
>
> I have just found a corrupt file in our depot.
>
> The incident has happened just as we have switched server, and had  
> some trouble with a snapshot file from a VM image.
>
> I would very much be able to query our p4 server to go through all  
> files tonight, and report all files which have problems with its  
> files.
>
> Can anyone help me with an idea on how to script this, or use an  
> existing p4 command to scan our depot, and report all files that are  
> corrupt?
>
> I hope for the best that it is only this one file.
>
> /Anders
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user




More information about the perforce-user mailing list