Perforce Utilities

Written by Robert Cowham (Perforce Consulting Partner and Trainer).

Here are some example utility scripts which I have found useful from time to time:

vsslinkedfiles.pl      A script to print out a list of linked (shared) files in a VSS (Visual Source Safe) repository. A bit hacky but shows example of how to use VSS OLE Automation from Perl (which allows other things too such as detecting deleted files).
specsaver.rb A branch of Tony Smith's script - updated for Ruby 1.8
p4checkpoint.pl A branch of Sandy Currier's script to do checkpoints and backups. Enhance to do verifies and email the results.
SaveLabels.pl An (old) script which stores the contents of labels as text files in Perforce. Left for posterity but specsaver.rb above does this better!
CreateClient.pl A simple script to create clients from others copying over other stuff as well as just the views (e.g. options). Again, somewhat dated these days.

Last updated: $Date: 2003/11/07 $