I'm trying to figure out a generic way to transfer files from GitHub to a Venus device and preserve file execute bits as well as symbolic links. I'm looking for a generic solution I can recommend for installation of packages I'm publishing for Venus OS enhancements.
So far, the the only mechanism that works is to download a zip file to another computer and unzip it there, then use rsync -Wa to copy the files over to the Venus device.
This works for me because my main computer is a Mac, but will Windows users have the rsync tool? I think most Windows users use putty for transfers
scp does not support symbolic links. (I have a way around this by including a utility to restore the symlinks but it's a kludge.)
I can copy the GitHub zip file from another computer, BUT the version of unzip included with Venus OS (BusyBox) does not restore file execution bits.
There are no git tools included with Venus OS either.
Also no apt tools that could be used to install git or other tools.
I have verified that the zip file created by GitHub DOES include file permissions (unzip -Z on my Mac computer).
I've also tried wget and curl to download the repo but the result of both is a .git file that I can't do anything with on Venus due to lack of git tools.
Is there a better, more generic way?