[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-19 Thread 'Mark S.' via TiddlyWiki
For your consideration, branch: https://github.com/Marxsal/polly/tree/Wiki-Directories that enables a section [wikidirs] where you can list entire directories of wikis to be restored. To avoid conflict, and because there will be massive numbers of files, you can not specify the download

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-19 Thread @TiddlyTweeter
PROMO Polly performing at the ballet ... https://youtu.be/WJSj3MxkyZQ?t=95 TT -- 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

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-17 Thread @TiddlyTweeter
ADVERTISEMENT Unlocking the potential of TiddlyWiki ... https://www.youtube.com/watch?v=Yy0WiXNFRv4 With Polly. By Roosting right in. TT -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-17 Thread @TiddlyTweeter
ADVERTISEMENT ... Before Polly there were problems on automation. https://www.youtube.com/watch?v=Yx520hQweY0 No longer. Polly solves them all. By Roosting right in. TT -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-16 Thread Mohammad
On Friday, August 16, 2019 at 2:53:55 PM UTC+4:30, @TiddlyTweeter wrote: > > Ciao Mohammad > > Mohammad wrote: >> >> I have asked this question earlier! After backup and zip why the files >> still in Downloads dir? >> Why not keep Downloads dir tidy? >> > > I'm not sure. I want to explain some

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-16 Thread Mohammad
Hi Josiah, On Friday, August 16, 2019 at 2:39:51 PM UTC+4:30, @TiddlyTweeter wrote: > > Ciao Mohammad > > Do you mean that *whilst creating setting* you could add multiple wiki > based on a full path with wildcards. If so, its possible. > Yes, that,s correct. I mean when creating setting, I

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-16 Thread @TiddlyTweeter
Ciao Mohammad Mohammad wrote: > > I have asked this question earlier! After backup and zip why the files > still in Downloads dir? > Why not keep Downloads dir tidy? > I'm not sure. I want to explain some implications. 1 -- It is important to understand that Polly backups and zip-archives (by

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-16 Thread @TiddlyTweeter
Ciao Mohammad Do you mean that *whilst creating setting* you could add multiple wiki based on a full path with wildcards. If so, its possible. IF you mean auto-detection at run-time of wiki within a directory (including recursively through sub-folders) that would not be for the [wikis]

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-16 Thread Mohammad
I have asked this question earlier! After backup and zip why the files still in Downloads dir? Why not keep Downloads dir tidy? On Thursday, August 15, 2019 at 9:43:38 PM UTC+4:30, Mark S. wrote: > > > TT's updates have been incorporated. Available as a release from: > >

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-16 Thread Mohammad
Hi developers, In the setting.ini is it possible to use wildcards like [wikis] --- WIKIS FOR RESTORE: one per line in format: "label1=path-to-wiki-file" file1=C:\TW\Polly\tw-wikidir\*.html Of course then the label is may be need to be changed to something else! --Mohammad On Thursday,

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-15 Thread 'Mark S.' via TiddlyWiki
TT's updates have been incorporated. Available as a release from: https://github.com/Marxsal/polly/releases New features - Expands use to PS Core 6 (inc Linux, Mac ?) - Expands env variables under Windows - Menu loops for Restore Once and Parrot Now - Allows relative paths in

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-14 Thread @TiddlyTweeter
Mark S. wrote: > > Ok. Standing by .. > Ciao Mark Confirm "Parrot Now" works well. It is a VERY useful advanced feature of Polly. (For instance my test included using Polly "Parrot Now" as an easy way to maintain a partial mirror of Polly herself that is archived to the cloud along with some

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-13 Thread 'Mark S.' via TiddlyWiki
Ok. Standing by .. On Tuesday, August 13, 2019 at 12:06:08 PM UTC-7, @TiddlyTweeter wrote: > > Don't worry. I'll integrate with your latest too tomorrow. You can leave > this till then. > > TT > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-13 Thread @TiddlyTweeter
Ciao Mark Wanted you to have this up-date sooner rather than later. NB: Its an edit of *https://github.com/Marxsal/polly/tree/core-enabled-with-menu-loop , * polly.ps1 Only the polly.ps1 file is changed. Changes ...

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-13 Thread @TiddlyTweeter
Don't worry. I'll integrate with your latest too tomorrow. You can leave this till then. TT -- 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

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-13 Thread 'Mark S.' via TiddlyWiki
Ut-oh. I just pushed a big "parrot menu" change. Hopefully we can fit the pieces together, because that was a bit of work. Also, need permission to see your file (submitted request). Thanks! On Tuesday, August 13, 2019 at 10:36:15 AM UTC-7, @TiddlyTweeter wrote: > > Ciao Mark > > Wanted you to

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-13 Thread @TiddlyTweeter
Mark S. wrote: > > This code kind of does that already. > > $isWindows > $isMacOS > $isLinux > Excellent. I can incorporate that into *do-settings *easily. These variables don't exist in PS 5. > In do-settings I think it would be easy. An IF for $IsMacOS or $IsLinux else Windows regardless.

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-13 Thread @TiddlyTweeter
Mark I see what you doing with that. I will go though the code and try deal with as much of the Windows hard-coded pathing as possible. We can certainly dump the manual trailing slashes I added on many directory addresses. And all libraries I think can be referenced through Unix style

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-13 Thread @TiddlyTweeter
Ciao Mark I'll make a test set for that over next couple of days. TT Mark S. wrote: > > >> More research into string splitting needed. >> >> > Just pushed update to core-enabled that splits wiki paths by / and \ . > > Getting there > -- You received this message because you are subscribed to

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-12 Thread 'Mark S.' via TiddlyWiki
On Monday, August 12, 2019 at 8:47:50 AM UTC-7, Mark S. wrote: > > > More research into string splitting needed. > > Just pushed update to core-enabled that splits wiki paths by / and \ . Getting there -- You received this message because you are subscribed to the Google Groups "TiddlyWiki"

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-12 Thread 'Mark S.' via TiddlyWiki
Hmm. It worked for a download directory with a relative path, but didn't work with a wiki name as a relative path. *Because* the path is split by the current official separator in order to determine the base file name and the base directory path. Have to decide if we need to split by both

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-12 Thread @TiddlyTweeter
Mark S. wrote: > > (Update: Just pushed an update to core-enabled to fix a problem in the > variables discussed below.) > > If you're running PS Core 6, then there are 3 helpful variables: > > $isWindows > $isMacOS > $isLinux > > To tell you what platform you are on. These variables don't exist

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-12 Thread @TiddlyTweeter
I think the "\" on Windows 10, at least, is happily also "/" in many situations. There are global substitutions going on to do with MS wanting to share, I think. If you run "Get-ChildItem Env:" in PS5 you get interesting things like this showing up ... USERPROFILE

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-12 Thread 'Mark S.' via TiddlyWiki
Quick comment about pathing. "/" Works better as a universal path separator because "\" works as an escape character in many string interpolations. PS seems to be able to use "/" in paths even on Windows, which is pretty handy. On Monday, August 12, 2019 at 7:52:03 AM UTC-7, Mark S. wrote: > >

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-12 Thread 'Mark S.' via TiddlyWiki
This code kind of does that already. (Update: Just pushed an update to core-enabled to fix a problem in the variables discussed below.) If you're running PS Core 6, then there are 3 helpful variables: $isWindows $isMacOS $isLinux To tell you what platform you are on. These variables don't

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-12 Thread @TiddlyTweeter
> > @TiddlyTweeter: >> >> Say I write this in Windows BATCH ... >> >>powershell -file .\polly.ps1 -run "menu" -ini "t_relative-USB.ini" >> >> ... the bat file can be clicked to run from file explorer GUI. File >> called "t_relative-USB.bat" >> > > *BTC * > *I would call it

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-12 Thread BurningTreeC
Am Montag, 12. August 2019 14:37:36 UTC+2 schrieb @TiddlyTweeter: > > Thanks BTC > > Say I write this in Windows BATCH ... > >powershell -file .\polly.ps1 -run "menu" -ini "t_relative-USB.ini" > > ... the bat file can be clicked to run from file explorer GUI. File called >

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-12 Thread @TiddlyTweeter
Thanks BTC Say I write this in Windows BATCH ... powershell -file .\polly.ps1 -run "menu" -ini "t_relative-USB.ini" ... the bat file can be clicked to run from file explorer GUI. File called "t_relative-USB.bat" In BASH would it be as simple as? ... powershell -file ./polly.ps1 -run

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-12 Thread @TiddlyTweeter
> > Mark S. wrote: >> >> especially in the context of USB testing, that you might >> > want to try some larger files to give a more realistic experience. >> > @TiddlyTweeter wrote: Right. I overlooked that so far! > > Now there is testing structure I'll make a "Performance" version as it >

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-12 Thread BurningTreeC
General question on Linux. > > > What is the equivalent of a Windows "batch" file? > Hi, I'd say a bash script > > TT > -- 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

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-12 Thread @TiddlyTweeter
> > For instance, maybe platform dependent # INTERNAL SETTINGS might be moved > to secondary scripts or *.\lib\win-internal.ini*, > *.\lib\mac-internal.ini *& *.\lib\unix-internal.ini*? My point about this is a wondering if we could enable *ONE system that auto-supports 3 o/s*. So, for

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-12 Thread @TiddlyTweeter
For those on electronic mail I updated my penultimate post https://groups.google.com/d/msg/tiddlywiki/lMAdx3Xrqow/ehuI5HUBDAAJ -- 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

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-12 Thread @TiddlyTweeter
General question on Linux. What is the equivalent of a Windows "batch" file? TT -- 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

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-11 Thread @TiddlyTweeter
Mark S. wrote: > > > Just uploaded a new branch: > > https://github.com/Marxsal/polly/tree/core-enabled > > This version is hopefully forward compatible with Powershell Core 6. That > is, you > can use it with PS 5, and also with PS 6 -- which means it can be used with > Linux and maybe Mac OS. >

[tw5] Re: Polly (3) -- Downloads as HUB

2019-08-11 Thread @TiddlyTweeter
Great news on cross-platform PSCore possibility! Mark S. wrote: > I've been experimenting with Powershell Core on linux. It took less than > 10 minutes to install, and takes about 150megs of space. So > the barrier to usage is pretty low. It will be even lower if PS gets into > the major