bin/homedir-push

Wed, 04 May 2016 07:50:08 -0700

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 04 May 2016 07:50:08 -0700
changeset 299
0258fafac928
parent 261
6254589972e6
permissions
-rwxr-xr-x

Add guard, guard-shell

#!/bin/sh
set -eu

TARGET=$1

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

mercurial