bin/homedir-push

Sun, 12 Feb 2017 17:32:18 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 12 Feb 2017 17:32:18 -0500
changeset 514
d596509d91f0
parent 261
6254589972e6
permissions
-rwxr-xr-x

safer sudo -e

#!/bin/sh
set -eu

TARGET=$1

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

mercurial