bin/homedir-push

Fri, 18 Mar 2016 00:07:12 +0000

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 18 Mar 2016 00:07:12 +0000
changeset 276
b9c8bfdfe163
parent 261
6254589972e6
permissions
-rwxr-xr-x

Avoid ugly prompt on consoles

#!/bin/sh
set -eu

TARGET=$1

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

mercurial