bin/homedir-push

Mon, 26 Sep 2016 11:14:17 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 26 Sep 2016 11:14:17 -0400
changeset 396
2f02fa724f42
parent 261
6254589972e6
permissions
-rwxr-xr-x

add session autoload/save when servername is set

#!/bin/sh
set -eu

TARGET=$1

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

mercurial