bin/homedir-push

Mon, 22 May 2017 20:52:28 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 22 May 2017 20:52:28 -0400
changeset 579
0cb7adee16fe
parent 261
6254589972e6
permissions
-rwxr-xr-x

move begin into function too

#!/bin/sh
set -eu

TARGET=$1

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

mercurial