Creating a script that duplicates and archives version current TaskPaper document on every save

Even though I really like TaskPaper’s native versioning, with the menu items “Revert to > Browse all versions” looking really useful, I’d like to make sure I have un-expiring versions that go back as far as possible.

Since I don’t think this is default behaviour, does anyone know if it’s possible to create a script that would duplicate the current .taskpaper file each time you save it, and rename it to [file-name][timestamp].taskpaper?

Thanks,
Jacob

Hey jcb,

I think that you would do better using something like git or mercurial to accomplish what you want, and maybe having a script that you run every time you save the file.You could also do something with javascript or bash, but why re-invent the wheel when there is a wheel that does exactly what you want plus more?

In any case, maybe someone who knows more about scripting can help you with this. Hope you have a good week.