Note: use this automation at your own risk, and please test this in a practice folder first!
Revit creates incrementally numbered backups each time you save old families or projects (non workshared). This is great, but they accumulate in whichever folder they're saved within. Here's some scripting which relocates these "backup" files to an archived location, in this case "C:\Archive". Simply, copy the text below into notepad and save as "Move and Archive.bat", then place into the folder you are saving files into and run it periodically or as incrementally as an assigned task.@echo off
cls
Set src=%~dp0
Set Families=C:\Archives
If Not Exist "%Families%" MD "%Families%"
Set Projects=C:\Archives
If Not Exist "%Projects%" MD "%Projects%"
Move /Y "*.00**.rfa" "%Families%\"
Move /Y "*.00**.rte" "%Families%\"
Move /Y "*.00**.rvt" "%Projects%\"
Move /Y "*(Recovery).rfa" "%Families%\"
Move /Y "*(Recovery).rvt" "%Projects%\"