ProjectWise Design Integration Ideas Portal

Purge Non-PW files from working directories

When files are deleted/renamed, they are not always deleted from the working directories.  There needs to be something that will clean up the working directories so that only those files registered in PW remain.

  • Buddy Branham
  • Jul 10 2019
  • Future consideration
  • Guest commented
    3 Dec, 2024 02:09pm

    A PW working directory clean up tool would be good. I would like to build me a list of the files that are not registered in PW and ask if it is ok to delete these files.

  • Buddy Branham commented
    11 Jul, 2019 07:45pm

    Looking for something that looks in local directories and reads the files that exist. If the file is not registered with PW, then it deletes it.   This could be done with a "clean up" option on right click of folder (with option for sub-folders) or possibly some in the managed workspace loading that looks at variable with folder wildcards, and verifies that extra files are not there.  This has been mostly an issue with .xml, .cfg, etc. type files.

  • Phil Conard commented
    11 Jul, 2019 06:26pm

    There is an existing enhancement request to provide some automation around controlling the working directory. Something along the lines of purging based on time or file size. Would that match what you are looking for here?