bin/homedir-push

Wed, 16 Mar 2016 00:40:33 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 16 Mar 2016 00:40:33 -0400
changeset 269
368d0e4449ed
parent 261
6254589972e6
permissions
-rwxr-xr-x

Let's only need droid installed.

#!/bin/sh
set -eu

TARGET=$1

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

mercurial