bin/homedir-push

Mon, 17 Jun 2019 18:45:19 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 17 Jun 2019 18:45:19 -0500
changeset 772
7ae185f81e1a
parent 261
6254589972e6
permissions
-rwxr-xr-x

allow switching base mod key

#!/bin/sh
set -eu

TARGET=$1

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

mercurial