bin/homedir-push

Sun, 23 Oct 2016 02:31:27 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 23 Oct 2016 02:31:27 -0400
changeset 425
e23906d13a57
parent 261
6254589972e6
permissions
-rwxr-xr-x

add method tab shortcut

#!/bin/sh
set -eu

TARGET=$1

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

mercurial