3 ms·
Something similar, which allows you want to extend shell scripts to a remote system transparently is "rpcsh" -- take a look at: https://gist.github.com/derekp7
by derekp7 12y ago
Something similar, which allows you want to extend shell scripts to a remote system transparently is "rpcsh" -- take a look at:
https://gist.github.com/derekp7/9978986 https://gist.github.com/derekp7/9978986
This function allows you to push out local functions, variables, and arrays to a remote system. There is an updated version in the client script for my backup utility (snebu), which also includes getting remote variables returned to the local shell script, and also bouncing through sudo.
Should I move this to a regular project on Github, or keep it in the gist?