bin/homedir-push

Fri, 08 Apr 2016 19:00:27 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 08 Apr 2016 19:00:27 -0400
changeset 291
c9832253606a
parent 261
6254589972e6
permissions
-rwxr-xr-x

prefer text/plain

#!/bin/sh
set -eu

TARGET=$1

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

mercurial