bin/homedir-push

Thu, 09 Feb 2017 01:50:53 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 09 Feb 2017 01:50:53 -0500
changeset 504
e4e09e3317ec
parent 261
6254589972e6
permissions
-rwxr-xr-x

Stop leaving junk around, keep this all in memory

#!/bin/sh
set -eu

TARGET=$1

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

mercurial