Last active
January 15, 2021 16:16
-
-
Save bohdon/f4233e95aaabe1cfe0f2c90630a22ea9 to your computer and use it in GitHub Desktop.
Flush the have list for a workspace in perforce
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # add -n after flush to dryrun | |
| p4 have $1 | grep -Eo '//.*#[[:digit:]]+' | p4 -x - flush |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment