I know there are a lot of threads like this but none of them seem to have the answer.
I need to copy files to a directory on my libreelec box using rsync and ssh, ie running rsync /source/directory [email protected]:/dest/directory on a remote machine
I have found the network tools addon that contains rsync, and I can use that to copy files *from* libreelc to other systems, but that isn't what I need.The issue is when I try to copy from another system to libreelec I get
sh : rsync : command not found
Because the rsync binary isn't on the default PATH and rsync doesn't read .profile or any other file so I'm limited to /usr/bin and the other read-only directories.
Why don't I just sync the files the other way? After all, it's a sync, I imagine you're thinking. Yes, but this is a pre-existing bash script containing 500 lines of stuff that sh doesn't understand (eg array variables) so I can't run it on the libreelec system.
Anybody got any ideas how to make this work? Or can I get bash for libreelec? That'd be a good start.