bin/homedir-push

Fri, 27 Jan 2017 13:00:39 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 27 Jan 2017 13:00:39 -0500
changeset 492
e5d6f6523162
parent 261
6254589972e6
permissions
-rwxr-xr-x

Accept extra args

#!/bin/sh
set -eu

TARGET=$1

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

mercurial