PowerOn Pro
PowerOn Pro
  • Introduction
  • Quickstart
  • Capabilities
  • Changelog
  • Links
    • PowerOn Pro
    • GitHub
  • How To's
    • Setting up Rsync on Windows
  • Resources
    • Commands
    • Known Issues
    • Settings
    • Help & Feedback
Powered by GitBook
On this page
  • Getting started
  • Installing WSL
  • Installing SSHPass
  • Verifying the Remote Sym dependencies
  • Is Rsync installed?
  • Is SSHPass installed?

Was this helpful?

Export as PDF
  1. How To's

Setting up Rsync on Windows

PreviousChangelogNextCommands

Last updated 7 months ago

Was this helpful?

At the time of writing this how-to, to use the feature we require the use of common Unix utility called to manage the local directories for each Sym which we refer to as "semi-virtual" workspaces.

Looking for additional context into the design decision? Providing rich language support for a third-party language like PowerOn requires something called the . Unfortunately, VS Code doesn't currently support LSP over "virtual workspaces" () which is the ideal design choice to bridge the gap between your local workstation and the Symitar host - forcing us to find an alternative. That alternative, was simply us managing a copy of the select remote directories you'd like for each Sym on your local machine and keeping them up to date using, you guessed it, rsync.

Getting started

Now, we're aware that most of the Symitar developers out there are on a Windows workstation and rsync isn't something that's natively available. Sure there's technically a way to get it running using Windows binaries but fortunately for us Microsoft gave us the ability to install a Linux distribution of our choosing through something called .

Already have WSL working on your machine? Feel free to skip down to if you already have a Linux distribution created via WSL or if you're comfortable with handling the deps yourself.

Installing WSL

We recommend you follow the latest installation guide, , by Microsoft. The distribution you choose shouldn't matter as long as it comes with rsync already installed.

Installing SSHPass

In order to not prompt you 1,000 times while we manage the synchronization between your Remote Sym and local directory, we use another popular utility called . The following steps walk you thought how to set this up on Ubuntu.

Update & install via APT

Using , make sure your sytem has been updated with the lastet packages via the following commands:

  • First make sure you're in your wsl instance:

  • Next, from the $ prompt, go ahead and update your apt packages:

  • After typing in your Ubutu user password, you should see something like the following:

  • Finally run sudo apt install sshpass (if you've already installed, the output will look similar to the following)

Verifying the Remote Sym dependencies

After installation or if you have an existing WSL distribution you're working with, here are the simple commands to check if you meet the dependencies.

Is Rsync installed?

Run which rsync to confirm it exists in your /bin directory.

Is SSHPass installed?

Run which sshpass to confirm it exists in your /bin directory.

rsync
Language Server Protocol (LSP)
Issue #1264
Windows Subsystem for Linux (WSL)
Install WSL
sshpass
Advanced Packaging Tool (APT)
Verifying the Remote Sym dependencies
Symitar Explorer - Remote Syms
Running the wsl command from a PowerShell prompt in Windows 11.
Running the sudo apt update command within a WSL Ubuntu instance.
Output after running sudo apt update on WSL Ubuntu instance.
Running sudo apt install sshpass on WSL Ubuntu instance.
Running which rsync on a WSL Ubuntu instance.
Running which sshpass on a WSL Ubuntu instance.