bin/homedir-push

Tue, 14 Feb 2017 01:52:15 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 14 Feb 2017 01:52:15 -0500
changeset 517
8d4021a00228
parent 261
6254589972e6
permissions
-rwxr-xr-x

ok this is obviously simpler

#!/bin/sh
set -eu

TARGET=$1

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

mercurial