Same day (if strictly defined) could be an issue for someone like me who might be working around midnight and thus have a different result as to how long the prior vers was good for...but the other issue is that if I've intentionally made a series of changes and saved each time over the course of a few hours, this wouldn't allow me to get back to last "good" one but rather maybe the 5th prior one which wouldn't be a help.admin wrote:Or, don't overwrite if is the same day (modified date), resp. < 24 hours? That way you would always have "Yesterday's INI".serendipity wrote:Yes, that would be a bummer. Only other way i can think of is, if the contents of the ini is not changed then don't overwrite last config.
Another similar case would be where I've made some intentional config changes and explicitly saved them (pushing old INI to BAK), and then much later that day, did some more undesired/test ones and then exited XY which in my case, does a save (good INI then NOT pushed to BAK)...the first intended set of changes wouldn't then be able to be recovered from BAK, right?
So...I most DEFINTELY think that not overwriting unless chgs have occured is the preferable way to do it...that would allow for multiple start/exit cycles but still keep the BAK intact.
XYplorer Beta Club