bin/homedir-push

Sat, 06 Jul 2019 22:09:22 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 06 Jul 2019 22:09:22 -0400
changeset 774
d6a54f86ab10
parent 261
6254589972e6
permissions
-rwxr-xr-x

Don't exec self

#!/bin/sh
set -eu

TARGET=$1

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

mercurial