bin/homedir-push

Mon, 16 Jan 2017 05:40:21 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 16 Jan 2017 05:40:21 -0500
changeset 473
049e9d356e16
parent 261
6254589972e6
permissions
-rwxr-xr-x

Fix for new session while in tmux

#!/bin/sh
set -eu

TARGET=$1

hg archive -t tgz -p . - | ssh $TARGET tar xz --keep-newer-files

mercurial