bin/homedir-push

Fri, 30 Dec 2016 13:23:17 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 30 Dec 2016 13:23:17 -0500
changeset 464
452034aff788
parent 261
6254589972e6
permissions
-rwxr-xr-x

add first colon shortcut

#!/bin/sh
set -eu

TARGET=$1

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

mercurial