Posts by AndiTR

    I use LibreELEC (official): 9.1.501 (RPi2.arm) on a Raspberry Pi 3 Model B+. I installed the network-tools addon, which includes rsync.

    I tested on a local network from my Mac.

    Versions on my Mac and Kodi are the same: rsync version 3.1.3 protocol version 31

    1)

    Code
    $ rsync -aHEANh file root@host:/storage/
    sh: rsync: not found
    rsync: connection unexpectedly closed (0 bytes received so far) [sender]
    rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.2]

    2) With --rsync-path option:

    Code
    $ rsync --rsync-path=/storage/.kodi/addons/virtual.network-tools/bin/rsync -aHEANh file root@host:/storage/
    rsync: on remote machine: -lHogDtNpAre.iLsfxC: unknown option
    rsync error: syntax or usage error (code 1) at /var/lib/jenkins/LE/build2/workspace/Addons/All_Add-ons/build.LibreELEC-RPi2.arm-9.1-devel/rsync-3.1.3/main.c(1578) [server=3.1.3]
    rsync: connection unexpectedly closed (0 bytes received so far) [sender]
    rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.2]

    I found out the path with which rsync

    Other network tools like scp work fine so far.