bin/homedir-push

Wed, 21 Sep 2016 17:34:19 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 21 Sep 2016 17:34:19 -0400
changeset 394
fd0577ad3e32
parent 261
6254589972e6
permissions
-rwxr-xr-x

improve style

#!/bin/sh
set -eu

TARGET=$1

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

mercurial