bin/homedir-push

Thu, 10 Nov 2016 01:34:37 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 10 Nov 2016 01:34:37 -0500
changeset 430
cac0a6e87836
parent 261
6254589972e6
permissions
-rwxr-xr-x

lord save me from the shift key

#!/bin/sh
set -eu

TARGET=$1

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

mercurial