Jonathan de Blok
If you place the afterSceneSave handler, linked below, in the same scripts folder it will do some housekeeping only keeping a certain number of backups, see source to set the number to keep. (make sure to keep the exact filename, houdini uses that to identify it's function)
https://www.dropbox.com/scl/fi/pv3v2rm1gnhovy6cj23hv/afterscenesave.py?rlkey=608r3wn14kx89zvs746najcet&dl=0 [www.dropbox.com]
This script sounds useful, but I'm getting the following error, and don't know enough Python to troubleshoot:
" File \"C:/Users/User/Documents/houdini20.0/scripts/
afterscenesave.py\", line 12
print \"WARNING, saving into a backup folder.. skipped pruning\"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(\"WARNING, saving into a backup folder.. skipped pruning\")?
"
I'm not sure if this means it's not pruning. I assume not as all previous backups and autosaves still exist. What do you mean by exact filename? The exact filename of the script?
Any insight would be great.
Thanks,