bin/homedir-push

Sun, 26 Mar 2017 15:09:33 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 26 Mar 2017 15:09:33 -0400
changeset 534
6a8fc81c470c
parent 261
6254589972e6
permissions
-rwxr-xr-x

Add -m minimal option to skip extras

#!/bin/sh
set -eu

TARGET=$1

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

mercurial