Page 1 of 1
Backup file option?
Posted: Tue Oct 10, 2006 10:12 pm
by jonljacobi
Is there an option to back up saved files, i.e., rename the old file code.pb to code.pbk or some such? I just lost a fair amount of work when the hard drive crapped out just as PC was saving the source code. Not tantrum amounts of work, but stuff I'd rather have back.
I can't seem to find anything like this.
Cheers Jon
Posted: Tue Oct 10, 2006 10:47 pm
by netmaestro
I'm not sure. It would be no trouble to write a builtin tool to do it, someone may have done so already. But one tidbit that I've found handy from time to time is that a copy of the source for the last program you ran from the ide is in your \PureBasic\Compilers folder under the name PB_Editor_Output.pb - dunno if it would help you or not.
Posted: Fri Oct 13, 2006 6:38 pm
by blueznl
codecaddy keeps numbered backups for you
Posted: Sat Oct 14, 2006 10:32 am
by gnozal
blueznl wrote:codecaddy keeps numbered backups for you
So does jaPBe (both PB3.9x abd PB4.00 versions).
Posted: Sat Oct 14, 2006 11:48 am
by blueznl
ah? yes, that's true, i stole the numbering scheme from japbe
i've just added a twist: i keep track of version numbering, and store all backups in a subfolder, thus keeping my working folder clean, but you're right: japbe does it, so if you're using japbe there's little use for codecaddy
(it does include some small other things like reformat, codesync, and numbered builds, but it's not totally complete yet though it works)
Posted: Sat Oct 14, 2006 11:58 am
by gnozal
In jaPBe V3, you can also specify a backup directory (it was a user request).