Perforce Utilities


Here are some scripts which I've written in the hope they will be useful to others. You them at your own risk.

Miscellaneous Utilities

Back to Table of Contents

P4::Journal P4::Journal is a Perl module for parsing and editing Perforce checkpoint and Journal files. It provides a nice, easy to use object-oriented interface to journal files and allows access to fields by name.
p4abuse.pl p4abuse.pl is a small perl script designed to help a system administrator detect abuses of a Perforce system. Currently, it will highlight two common errors: using a client from multiple hosts, and use of a client by multiple users.
rename_depot.pl rename_depot.pl allows a sysadmin to rename a Perforce depot whilst preserving the entire history of the depot. It does this by editing a checkpoint file, so the user must checkpoint their database first, and then recover from the edited checkpoint at the end. ALWAYS ensure that appropriate backups are taken before using this script.