bin/homedir-push

Tue, 17 Jan 2017 17:39:46 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 17 Jan 2017 17:39:46 -0500
changeset 475
039e458c86cd
parent 261
6254589972e6
permissions
-rwxr-xr-x

command!

#!/bin/sh
set -eu

TARGET=$1

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

mercurial