bin/homedir-push

Sat, 01 Apr 2017 22:14:39 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 01 Apr 2017 22:14:39 -0400
changeset 538
0d00232760ea
parent 261
6254589972e6
permissions
-rwxr-xr-x

use gpg2

#!/bin/sh
set -eu

TARGET=$1

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

mercurial