Maya Render All Files In Autosave Folder

For an university assignment I had to “display” my modelling progress. My instructor wanted me to do a screenshot every 60 seconds. However he was not impressed by the result. He wanted to see real renders.

To avoid interrupting my work every 60 seconds I enabled the internal “autosave” feature. Then of course I ended up with a ton of files. But now I still needed to render out every single file, so I created a simple script to render all files in the folder.

This Python script will create a batchfile which when exectuted will render every single file.