bin/homedir-push

Wed, 28 Dec 2016 17:49:07 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 28 Dec 2016 17:49:07 -0500
changeset 461
d5abcf2b7365
parent 261
6254589972e6
permissions
-rwxr-xr-x

readability

#!/bin/sh
set -eu

TARGET=$1

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

mercurial