bin/homedir-push

Sun, 02 Oct 2016 00:24:31 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 02 Oct 2016 00:24:31 -0400
changeset 407
f3ddcd72fa62
parent 261
6254589972e6
permissions
-rwxr-xr-x

try something more subtle

#!/bin/sh
set -eu

TARGET=$1

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

mercurial