bin/homedir-push

Tue, 23 Feb 2016 01:56:46 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 23 Feb 2016 01:56:46 -0500
changeset 261
6254589972e6
parent 249
5bba2e094584
permissions
-rwxr-xr-x

update only

#!/bin/sh
set -eu

TARGET=$1

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

mercurial