bin/homedir-push

Thu, 14 Sep 2017 19:48:58 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 14 Sep 2017 19:48:58 -0400
changeset 641
60b56bbfc143
parent 261
6254589972e6
permissions
-rwxr-xr-x

use strict regex ops

#!/bin/sh
set -eu

TARGET=$1

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

mercurial