How to delete PTC Creo backup files - ami-iit/ami-commons GitHub Wiki

PTC Creo handles different file revision by incrementing a counter at the end of the file name, after the file extension (e.g. myPart.prt.1 or myAssembly.asm.1).

Usually, when saving PTC Creo creates a new file with the same name and extension, but with the version incremented of 1 unit. While this behavior is desiderable to easily retrive previous version of your files, is not suitable to store the data in a version control system (e.g. Subversion or Git LFS). In particular, in our repositories, we store only files that end with revision ".1".

We generally use the Spekan Purge Tool to easily purge all the files that have a revision smaller than the highest, and rename the highest to ".1".

[!WARNING] Always click on the Purge button of "Spekan Purge Tool", never click on Delete button, as the Delete button can delete some files (such as .idx files) that are used internally by git. In a nutshell, clicking on Delete can corrupt your git repositories and make it impossible to used them.

Note:

PTC has a propietary PLM software (i.e. Windchill) to handle different file revision without having to manually rename the files, but until late 2023, IIT has not purchased any license.