bin/homedir-push

Fri, 30 Sep 2016 22:20:29 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 30 Sep 2016 22:20:29 -0400
changeset 404
2002e152dff6
parent 261
6254589972e6
permissions
-rwxr-xr-x

just use test

#!/bin/sh
set -eu

TARGET=$1

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

mercurial