bin/homedir-push

Thu, 09 Feb 2017 19:00:50 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 09 Feb 2017 19:00:50 -0500
changeset 509
14ac01e21c51
parent 261
6254589972e6
permissions
-rwxr-xr-x

in-place write for crontabs

#!/bin/sh
set -eu

TARGET=$1

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

mercurial