Skip to content

Instantly share code, notes, and snippets.

@moraisaugusto
Created March 15, 2021 22:00
Show Gist options
  • Save moraisaugusto/c1f9cf4b1bd891812ecdb33f6a1919f4 to your computer and use it in GitHub Desktop.
Save moraisaugusto/c1f9cf4b1bd891812ecdb33f6a1919f4 to your computer and use it in GitHub Desktop.
LibreELEC - rsync

Install the network-tools addon (from libreELEC)

This addon will install the rsync in the following folder:

$ which rsync
/storage/.kodi/addons/virtual.network-tools/bin/rsync

Now, if you try to sync the files, you will get this error (probably):

$ rsync -av my_local_folder root@X.X.X.X/storage/videos
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(228) [sender=v3.2.3]

You need to specify the path for the rsync on your destination host

$ rsync -av --rsync-path=/storage/.kodi/addons/virtual.network-tools/bin/rsync my_local_folder root@X.X.X.X:/storage/videos

Done, you will be able to sync your files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment