bin/homedir-push

Fri, 15 Mar 2019 23:44:27 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 15 Mar 2019 23:44:27 -0500
changeset 743
76c4c96d8b9f
parent 261
6254589972e6
permissions
-rwxr-xr-x

Use term formatter, if term

#!/bin/sh
set -eu

TARGET=$1

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

mercurial