First sync

This commit is contained in:
BrainwreckedTech
2019-08-23 20:31:57 -04:00
parent a9c6248b05
commit c80dca759c
10 changed files with 223 additions and 1 deletions

10
ssh-multirun Executable file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env sh
COMMAND="${1}"
shift
while [ "${#}" -gt 0 ]; do
printf '%40s\r%s\n' '' "${1}" | tr ' ' '-'
[ "${1}" = "local" ] && { bash -c "${COMMAND}"; true; } || ssh -t "${1}" "${COMMAND}"
shift
done