Find-invalid-versions.py

Other Find-invalid-versions.py

VRmatt

Active member
Messages
212
Reactions
46
Points
28
VRmatt submitted a new resource:

Find-invalid-versions script - Find and fix "does not use integer version" errors

Purpose: Fixing files causing naming errors found during startup.

Python script that will process the files with invalid filenames, apply the renaming rules as described, and rename the files accordingly:
<creator>.<name>.<version>
  1. Handling Duplicates:
    • If the script encounters a FileExistsError while renaming, it will move the file to the ./duplicates folder instead of throwing an error.
    • The shutil.move() function is used to move the duplicate file.
    ...

Read more about this resource...
 
Back
Top Bottom