bin/homedir-push

Sat, 21 Jan 2017 23:30:10 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 21 Jan 2017 23:30:10 -0500
changeset 485
a58682115510
parent 261
6254589972e6
permissions
-rwxr-xr-x

print usage on no args too

#!/bin/sh
set -eu

TARGET=$1

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

mercurial