Hi all
I made a program in Powershell that makes it easy to keep multiple versions of dofiles. It is very straightforward - all it does is repeatedly copy all the changed files in a folder and add the date and time to the name of the file. These files are stored in a separate folder. You can customize what suffix that folder gets and how often the program checks for changes. You can set it up for as many folders as you want. The program takes up essentially no hard drive space and uses almost no cpu or memory. It comes with an "installer" which makes sure the program is always running when you log in.
You can download it on github: https://github.com/Danferno/sfv
All information is in the readme file. It should work on all Windows PCs. Non-Windows PCs may not have Powershell installed.
I've tested this program on a few different setups and it worked fine, but bugs might still exist. If you find one, please report them here or on github.
I use it to keep versions of all my scripts and dofiles. I prefer it over Github or manually saving copies because I don't want to decide when to commit etc. With this thing on, I can just overwrite code without fear, because I can always go back to earlier versions. Also, sometimes I forget which change I made that led to different results. As long as I know roughly when the old result was generated, I can just go back to the dofile from that time and see. Likewise for log files.
FYI: This is essentially the end result of the versions folder.
Array
0 Response to ** New on Github ** sfv: Dofile backup/versioning program
Post a Comment