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 that shared
> folder that are used with @auto in a leo file. However because Win and
> MacOs refer to directory paths differently I haven't worked out how to have
> Leo under MacOs and Win 'see' the same file from the same @auto node. I
> hope that makes sense. I wouldn't mind keeping the text files in the same
> directory as the Leo files is there a way of making this work?
>
> ta
>
> IH
>
I do something like this, under Linux and Windows. I have @file nodes with
names like this:
@file .{{sep}}docs{{sep}}myfilename.mwiki
(this is a 'mediawiki' file).
The {{sep}} gets magically converted to '\' under Windows and '/' under
Linux. I think there are other keywords available with this {{...}}syntax;
look for a thread "cross-platform file references - how to deal with?"
As shown this keeps the @file within the main Leo file directory, under a
'docs' subdirectory in this case; I use it with Owncloud in a similar way
to your use of Sync. I presume that with the sue of symbolic links, under
Linux at least one could put them somewhere else. However I haven't yet
pursued this.
HTH
Jon N
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
To view this discussion on the web visit
https://groups.google.com/d/msgid/leo-editor/f08b2287-9708-490d-a798-272d1056ddf4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.