bin/homedir-push

Mon, 19 Sep 2016 21:58:02 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 19 Sep 2016 21:58:02 -0400
changeset 392
50353728ea83
parent 261
6254589972e6
permissions
-rwxr-xr-x

guess ostype isnt always set

#!/bin/sh
set -eu

TARGET=$1

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

mercurial