BJ

backups only occur when you save the tiddlywiki
>

sure

but then simplyLessBackups renames backup files like :
*index.20160517*.0709301140*.html*

I would like them renamed like :
*index*.20160517.07*0*9301140*.html*

To keep only the minutes decades.

Is this explication more specific ?

Regards

Julien




On Monday, May 16, 2016 at 6:11:37 PM UTC+2, BJ wrote:
>
> I don't understand what you mean - backups only occur when you save the 
> tiddlywiki. Do you mean maximum of one every ten minutes? (up to 6 an hour 
> * 24)
>
> On Monday, May 16, 2016 at 3:57:40 PM UTC+1, julien23 wrote:
>>
>> BJ,
>> Thanks
>>
>> Nows it is working.
>>
>> How can I modify this code to have 1 backup /10 minutes ?
>> if (config.options.chkOneADayBackUpFile==true)
>>             backupPath += (new Date()).convertToYYYYMMDDHHMMSSMMM().replace 
>> (/(.*)\.(.*)/,"$1") + "." + "html";
>>
>> Objective is a 6 backups rotating pattern like :
>>
>>> index_00.html
>>> index_10.html
>>> ...
>>> index_50.html
>>>
>>
>> Looking forward to read from you
>>
>> Julien
>>
>>
>> On Monday, May 16, 2016 at 4:20:37 PM UTC+2, BJ wrote:
>>>
>>> type copying it from this url
>>>
>>>
>>> https://raw.githubusercontent.com/buggyj/tiddlywikiplugins/master/simplyLessBackups.js
>>>
>>> On Monday, May 16, 2016 at 10:44:19 AM UTC+1, BJ wrote:
>>>>
>>>> what version of tiddlywiki are you using?
>>>>
>>>> On Monday, May 16, 2016 at 8:38:57 AM UTC+1, julien23 wrote:
>>>>>
>>>>> Hi BJ
>>>>>
>>>>> Thank you for help.
>>>>>
>>>>> I have an issue with your code. 
>>>>>
>>>>> [PluginManager] says :
>>>>>
>>>>>> Error: SyntaxError: missing ) after formal parameters
>>>>>>
>>>>>
>>>>> Win7x64
>>>>> FF 46.0.1
>>>>> TiddlyFox 1.0alpha18.1 
>>>>>
>>>>> Any clue ?
>>>>>
>>>>> Regards
>>>>>
>>>>> Julien 
>>>>>
>>>>> On Wednesday, May 11, 2016 at 3:56:34 PM UTC+2, BJ wrote:
>>>>>
>>>>> its a tiddlywiki classic plugin - it needs to be copied into a new 
>>>>>> tiddler and tagged with sytemConfig
>>>>>>
>>>>>> On Wednesday, May 11, 2016 at 1:45:41 PM UTC+1, prog...@assays.tv 
>>>>>> wrote:
>>>>>>>
>>>>>>> BJ, Sounds great, looks erm ... like computer code. HOW does a 
>>>>>>> mortal use it? :-) Josiah, x
>>>>>>>
>>>>>>> BJ wrote:
>>>>>>>>
>>>>>>>> Hi Julien,
>>>>>>>> I wrote a simple backup plugin that works when using tiddlyfox:
>>>>>>>>
>>>>>>>>
>>>>>>>> https://github.com/buggyj/tiddlywikiplugins/blob/master/simplyLessBackups.js
>>>>>>>>
>>>>>>>> maybe it could be of help to you,
>>>>>>>>  
>>>>>>>>
>>>>>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3f5591c0-ecaf-4667-ba12-781352ac3068%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to