bin/homedir-push

Sat, 17 Feb 2018 02:30:35 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 17 Feb 2018 02:30:35 -0500
changeset 690
d005acd0e883
parent 261
6254589972e6
permissions
-rwxr-xr-x

also portability improvements

#!/bin/sh
set -eu

TARGET=$1

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

mercurial