Some handy one-liner shell scripts. Note: if you're on Windows, all of these tools are available as part of the free Cygwin tookkit (www.cygwin.com). ============================================================ # Delete all jobs matching the pattern "job=DELETEME*". p4 jobs -e "job=DELETEME*" | cut -d " " -f 1 | xargs -n 1 p4 job -d