Share, Vote, & Discuss Ideas

We're constantly looking for new ways to improve our products and are asking you to help us by sharing your own ideas, voting for ideas you like, and discussing them with the rest of the community.

Add a 'clean' operation to p4v

p4 clean' would operate similarly to 'clean' operations in other DVCS packages, and have similar options. Basically it would allow for easy cleanup of up file system objects that are not under control of Perforce.
  • Guest
  • May 29 2015
  • Planned
  • Attach files
  • Guest commented
    July 20, 2015 10:36



    Here's a script we use. Tens/hundreds of times faster than reconcile in our case.

  • Erik Purins commented
    August 05, 2015 22:11

    There's already a p4 clean (synonym for p4 reconcile -w) command, would this be adding it as an option to a specific context menu in p4v?

  • Bemused commented
    September 17, 2015 14:06

    Hey, what happened to all the comments? People have been requesting this feature for years.

    Perforce: "We listen to the community so we deleted all your votes and comments"

    That's unfortunate.

  • Bemused commented
    September 25, 2015 15:03

    Broken link to the old feature request if you can find a cached copy anywhere


  • Ludovick Dallas commented
    November 27, 2015 15:21

    Simply create a P4V custom tool (P4V Menu: Tools / Manage Custom Tools...) and configure as follow:

    - Name: Clean (DeleteExtra & ForceSyncAltered Files)

    - Add to applicable context menus

    - Application: p4.exe

    - Arguments: -p $p -u $u clean %D

    - Run tool in terminal window

    - Refresh P4V upon completion

    - Ignore P4CONFIG Files 

    Yes, command p4 clean (from 2014.1+) is an alias to p4 reconcile -w (see p4 help clean or p4 help reconcile for more details.

    Good day.

  • Chris Maire commented
    September 12, 2016 21:39

    Please add this to P4V, having to build our own plugins to do such a basic operation is absurd.

  • Guest commented
    January 30, 2017 10:20

    Of course, you can add a Custom Tool for that. But it's just a nightmare to ask hundreds of users to set it, or to negotiate a deployment of that on some machines, for users potentially working on various projects, with various constraints.

    'Custom Tool' is a very limited workaround, nice for a small teams or dev teams. For big teams, with various profiles (artists, document writters, geeks, etc), it's just impossible

  • Stace commented
    February 09, 2017 12:44

    I think it is a shame Perforce only care about sales and cannot add a simple feature request.

    P4V is such a shambles, modal dialogs that appear in the background so you don't know when a long task is finished and my favourite "Step 3/2"

  • Richard Fu commented
    June 02, 2017 01:52

    2 yrs and still not implemented....