bin/homedir-push

Fri, 09 Dec 2016 15:20:22 -0800

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 09 Dec 2016 15:20:22 -0800
changeset 441
650cbc95b9b0
parent 261
6254589972e6
permissions
-rwxr-xr-x

doc it

#!/bin/sh
set -eu

TARGET=$1

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

mercurial