bin/homedir-push

Fri, 09 Mar 2018 00:24:31 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 09 Mar 2018 00:24:31 -0500
changeset 698
e5389e9fdb82
parent 261
6254589972e6
permissions
-rwxr-xr-x

less magic

#!/bin/sh
set -eu

TARGET=$1

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

mercurial