pi ip rm-from-filelist

Command Help

> pi ip rm-from-filelist -h
Usage: pi ip rm-from-filelist [-h] [--yes] identifier file

Description: Remove a file from the filelists of IPVs on a Line. This is an
irreversible command that changes otherwise immutable information in existing
IP Versions. It can only be run by Perforce IPLM admins. It is intended for use
only when a file has been 'obliterated' from the DM repository.

Positional arguments:
  identifier  Identifier of an IP or an IP Line. Line defaults to TRUNK if it
              is the only Line.
  file        Full repository path to the file to be removed. To remove a
              specific version of a file, append #<version>.

Optional arguments:
  --yes, -y   Confirm that we want to run the command.
  -h, --help  Show this help message and exit

Examples:
# Dryrun to remove version 1 of a file from IPVs in the A1 line of proj.adc1
  pi ip rm-from-filelist proj.adc1@.A1 //depot/proj/adc1/trunk/myfile#1

# Remove all versions of a file from IPVs in the TRUNK line of proj.adc1
  pi ip rm-from-filelist proj.adc1 //depot/proj/adc1/trunk/myfile --yes

More information and documentation available at:
  https://help.perforce.com/methodics/
Copyright © 2010-2025 Perforce, Inc.