bin/homedir-push

Wed, 16 Jun 2021 12:21:26 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 16 Jun 2021 12:21:26 -0500
changeset 910
272ba799a19e
parent 261
6254589972e6
permissions
-rwxr-xr-x

perl syntax fixes maybe

#!/bin/sh
set -eu

TARGET=$1

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

mercurial