• Hi Guest!

    We are extremely excited to announce the release of our first Beta for VaM2, the next generation of Virt-A-Mate which is currently in development.
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.
Find-invalid-versions.py

Plugins + Scripts Find-invalid-versions.py

Download [<1 MB]

VRmatt

Active member
Joined
Jul 9, 2022
Messages
249
Solutions
1
Reactions
54
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...
 

Similar threads

Plugins + Scripts Find-dupes.py
Replies
5
Views
390
Plugins + Scripts FindPlugins
Replies
3
Views
457
Replies
17
Views
3K
Back
Top Bottom