bin/homedir-push

Thu, 10 Nov 2016 01:35:08 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 10 Nov 2016 01:35:08 -0500
changeset 431
4cb4cd6a2570
parent 261
6254589972e6
permissions
-rwxr-xr-x

auto-mkdir on write

#!/bin/sh
set -eu

TARGET=$1

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

mercurial