bin/homedir-push

Sun, 27 Mar 2016 15:40:59 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 27 Mar 2016 15:40:59 -0400
changeset 282
f6890bef382e
parent 261
6254589972e6
permissions
-rwxr-xr-x

This stuff runs under sh anyway

#!/bin/sh
set -eu

TARGET=$1

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

mercurial