bin/homedir-push

Sun, 27 Mar 2016 15:40:20 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 27 Mar 2016 15:40:20 -0400
changeset 281
cc9fa8161af9
parent 261
6254589972e6
permissions
-rwxr-xr-x

Use full path

#!/bin/sh
set -eu

TARGET=$1

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

mercurial