bin/homedir-push

Mon, 03 Jul 2017 12:37:33 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 03 Jul 2017 12:37:33 -0400
changeset 616
6c094ff1cb87
parent 261
6254589972e6
permissions
-rwxr-xr-x

move ~/bin into zshenv

#!/bin/sh
set -eu

TARGET=$1

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

mercurial