autosave backup | v1.0 |
Requirements
or later
or later
Created on: 15/06/2010
Updated on: 18/05/2010
Downloads: 299
Updated on: 18/05/2010
Downloads: 299
Login or Register
Sometimes nuke scripts do not get saved properly and even the autosave file is corrupt or not existing any more. By hooking this script into the save process autosave files are handled in a way shake did: create incremented backup files with a max number of files.
Installation:
1) Drop the script in you nuke path
2) Add this lines to your menu.py
Installation:
1) Drop the script in you nuke path
2) Add this lines to your menu.py
1 2 3 |
import autosave_backup nuke.addOnScriptSave(autosave_backup.backup_autosave) |
create a script, save it and watch it create the autosave iterations.
Comments (7)
owen williams
said:
|
... Hi Sebastian. I have no clue about python, but have a real issue with NUKE only have 1 autosave, and cant seem to have increments. Does this script fix this? Could you do a more detailed breakdown on how to make this work. sorry if im not understanding this. Im not really any good at this kind of thing. |
Sebastian Elsner
said:
|
... Hi owen, the info is all here on nukepedia. Please read the user guides python section and/or watch the very good tutorials by frank. then do what I outlined above. |
Shane Holloman
said:
|
... Sebastian... thanks for this, I have done everything as I would normally add add python script and all seems well except "Attention! You do not have an autosave file!" Do we need to use certain syntax or naming convention on the initial file save name Thank you in advance for your advice Shane |
Shane Holloman
said:
|
... I typically use filename_V1.nk for my first save is this not what your script expects? |
Shane Holloman
said:
|
... I see this in the script: if os.path.exists(autosave_file): Are we to make this file and place it in our .nuke path, if so, do we call it: autosave_file.nk or?? |
Sebastian Elsner
said:
|
... You dont have to. this should work out of the box. "Attention! You do not have an autosave file!" only means that there is nof .autosave. Make sure, there is one before you save. If there is none, there is something wrong on your end, otherwise its a script thing (which I doubt because we are using it here in our studio...) |
Write comment
You must be logged in to post a comment. Please register if you do not have an account yet.
