bin/homedir-push

Thu, 24 Nov 2016 00:46:32 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 24 Nov 2016 00:46:32 -0500
changeset 436
3b52e54e5979
parent 261
6254589972e6
permissions
-rwxr-xr-x

lock down ssl settings, hide hostname and UA

#!/bin/sh
set -eu

TARGET=$1

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

mercurial