bin/homedir-push@1201037900f5
bin/homedir-push
Sun, 11 Dec 2016 18:45:31 -0500
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Sun, 11 Dec 2016 18:45:31 -0500
- changeset 445
- 1201037900f5
- parent 261
-
6254589972e6
- permissions
- -rwxr-xr-x
Accept just a 'hook' arg to look nicer
#!/bin/sh
set -eu
TARGET=$1
hg archive -t tgz -p . - | ssh $TARGET tar xz --keep-newer-files