bin/homedir-push

Fri, 14 Apr 2017 14:44:06 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 14 Apr 2017 14:44:06 -0400
changeset 543
f033acea6b1e
parent 261
6254589972e6
permissions
-rwxr-xr-x

restrict umask

#!/bin/sh
set -eu

TARGET=$1

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

mercurial