Re: Using Sync with Leo on Win/MacOs

2019-06-13 Thread Matt Wilkie
Another convention I use to make .leo files more portable is to avoid folders in @file/@auto headlines, put them in parent nodes instead. I used to have a snippet that set the initial path from an environment variable or presence/lack-of a folder but I can't find it at the moment. [ ] Scripts

Re: Using Sync with Leo on Win/MacOs

2019-06-13 Thread Matt Wilkie
Make all the paths relative to the .leo file (don't start with slash or drive letter), and use forward slashes. They work on Windows and 'nix (because python converts them automatically). @path projects/Something # works everywhere matt -- You received this message because you are

Re: Using Sync with Leo on Win/MacOs

2019-06-05 Thread Edward K. Ream
On Tue, Jun 4, 2019 at 2:40 PM jkn wrote: > I do something like this, under Linux and Windows. I have @file nodes with > names like this: > > @file .{{sep}}docs{{sep}}myfilename.mwiki > > The {{sep}} gets magically converted to '\' under Windows and '/' under > Linux. I think there are other

Re: Using Sync with Leo on Win/MacOs

2019-06-05 Thread Israel Hands
thanks Jon - very helpful - will chase this! IH On Tuesday, 4 June 2019 20:40:56 UTC+1, jkn wrote: > > > > On Tuesday, June 4, 2019 at 6:58:12 PM UTC+1, Israel Hands wrote: >> >> Hi, >> >> I use Sync rather than dropbox for my shared data and Sync works by >> having a directory on your machine

Re: Using Sync with Leo on Win/MacOs

2019-06-04 Thread jkn
On Tuesday, June 4, 2019 at 6:58:12 PM UTC+1, Israel Hands wrote: > > Hi, > > I use Sync rather than dropbox for my shared data and Sync works by having > a directory on your machine that is nominated to be 'synced' to the cloud > storage. Which is fine but I quite like having text files in