bin/homedir-push

Fri, 20 Jan 2017 10:23:27 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 20 Jan 2017 10:23:27 -0500
changeset 480
ca3afb782d18
parent 261
6254589972e6
permissions
-rwxr-xr-x

no background

#!/bin/sh
set -eu

TARGET=$1

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

mercurial