bin/homedir-push@f8da8d4ff16a
bin/homedir-push
Mon, 16 Sep 2019 21:36:29 -0400
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Mon, 16 Sep 2019 21:36:29 -0400
- changeset 788
- f8da8d4ff16a
- parent 261
-
6254589972e6
- permissions
- -rwxr-xr-x
use shfmt if available
#!/bin/sh
set -eu
TARGET=$1
hg archive -t tgz -p . - | ssh $TARGET tar xz --keep-newer-files