rsync under OpenElec / Kodi

mkdir /tmp/deb
wget http://ftp.us.debian.org/debian/pool/main/r/rsync/rsync_3.1.1-3_armhf.deb -qP /tmp/
wget http://ftp.us.debian.org/debian/pool/main/a/attr/libattr1_2.4.47-2_armhf.deb -qP /tmp/
wget http://ftp.us.debian.org/debian/pool/main/a/acl/libacl1_2.2.52-2_armhf.deb -qP /tmp/
wget http://ftp.us.debian.org/debian/pool/main/p/popt/libpopt0_1.16-10_armhf.deb -qP /tmp/
dpkg -x /tmp/rsync_3.1.1-3_armhf.deb /tmp/deb
dpkg -x /tmp/libattr1_2.4.47-2_armhf.deb /tmp/deb
dpkg -x /tmp/libacl1_2.2.52-2_armhf.deb /tmp/deb
dpkg -x /tmp/libpopt0_1.16-10_armhf.deb /tmp/deb
scp /tmp/deb/usr/bin/rsync root@192.168.178.3:/storage/
scp /tmp/deb/lib/arm-linux-gnueabihf/libattr.so.1 root@192.168.178.3:/storage/
scp /tmp/deb/lib/arm-linux-gnueabihf/libacl.so.1 root@192.168.178.3:/storage/
scp /tmp/deb/lib/arm-linux-gnueabihf/libpopt.so.0 root@192.168.178.3:/storage/

ssh root@192.168.178.3
export PATH=${PATH}:/storage
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/storage