bin/homedir-push

Sun, 18 Feb 2018 16:11:32 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 18 Feb 2018 16:11:32 -0500
changeset 691
5e08af1add1e
parent 261
6254589972e6
permissions
-rwxr-xr-x

Let's use Import::Base

#!/bin/sh
set -eu

TARGET=$1

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

mercurial