diff options
Diffstat (limited to 'send.sh')
| -rw-r--r-- | send.sh | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/send.sh b/send.sh deleted file mode 100644 index 7db7c7a..0000000 --- a/send.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -set -e -# set -x - -# Simple shell script to package and send over my dotfiles to a remote machine - -package="$(mktemp -d)" - -for _f in bashrc mkshrc tmux.conf tmux_helper.sh ; do - cp "$_f" "$package/.$_f" -done - -touch "$package/.tmux.conf.local" - -echo "Sending: " -ls -AF "$package" | sed -e's/^/ /' - -for host in "$@" ; do - echo "Operating on host: $host" - tar -C "$package" -czf - . | ssh "$host" "tar -xzf -" -done - -rm -rf "$package" |
