Feature Request: Sync via `wsl --exec`

YAMAMOTO Yuji <[email protected]>
Newsgroups gmane.network.unison.general
Message-ID <CA+6J5GEh7Gvdj2ARNxoZ4zPk2uJb3sD_vEvqY5G0vmhJfLy-bw@mail.gmail.com>
Hello, Unison users,

I'm recently using Unison to synchronize some of my source code
from Linux on WSL to the C drive of the host Windows:

Linux --- (unison -repeat watch) ---> Windows
  ^ Edit code etc.

Reasons:

   - Editing Windows files (under /mnt/c/) with Linux apps is notoriously
   slow.
   Therefore I want to write apps for Linux directly on Linux.
   - Meanwhile, making the backup from Windows is easier than from Linux:
   I don't want to install Dropbox both on Linux and on Windows. Thus I want
   to transfer files on Linux to Windows.

Currently I have to install openssh-server and my public key on
Linux only for Unison, which is a little cumbersome.

Now, I want to propose adding a new feature that enables unison
to synchronize with the WSL VM via the `wsl --exec` command
instead of `ssh`. `wsl --exec` can run arbitrary commands after
automatically launching a WSL VM, which could make it feasible.

Thanks for reading. Give me some feedback!

---
山本悠滋
Twitter: https://urldefense.com/v3/__https://twitter.com/igrep__;!!IBzWLUs!U1bPr4s6inPjQ4YFCNXSptQsLXnyrjteiBjwcx5NWTLL0XliKWGvarT11QqWfXrkfa-Mk0C3fz4sImNPvYYIM0GdWIqWpYCf2g$ 
GitHub: https://urldefense.com/v3/__https://github.com/igrep__;!!IBzWLUs!U1bPr4s6inPjQ4YFCNXSptQsLXnyrjteiBjwcx5NWTLL0XliKWGvarT11QqWfXrkfa-Mk0C3fz4sImNPvYYIM0GdWIoQI9uBZw$  <https://urldefense.com/v3/__https://gitlab.com/igrep__;!!IBzWLUs!U1bPr4s6inPjQ4YFCNXSptQsLXnyrjteiBjwcx5NWTLL0XliKWGvarT11QqWfXrkfa-Mk0C3fz4sImNPvYYIM0GdWIr4saTGgw$ >
Facebook: https://urldefense.com/v3/__http://www.facebook.com/igrep__;!!IBzWLUs!U1bPr4s6inPjQ4YFCNXSptQsLXnyrjteiBjwcx5NWTLL0XliKWGvarT11QqWfXrkfa-Mk0C3fz4sImNPvYYIM0GdWIriaVSJLA$ 

-- 
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.