bin/homedir-push@8e4bb4e70b2f
bin/homedir-push
Sat, 25 Jun 2016 03:00:08 -0400
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Sat, 25 Jun 2016 03:00:08 -0400
- changeset 344
- 8e4bb4e70b2f
- parent 261
-
6254589972e6
- permissions
- -rwxr-xr-x
use function-parameters contrib \o/
#!/bin/sh
set -eu
TARGET=$1
hg archive -t tgz -p . - | ssh $TARGET tar xz --keep-newer-files