bin/homedir-push

Sat, 11 Feb 2017 16:59:48 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 11 Feb 2017 16:59:48 -0500
changeset 512
da2cf0c3d734
parent 261
6254589972e6
permissions
-rwxr-xr-x

bash unnecessary

#!/bin/sh
set -eu

TARGET=$1

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

mercurial