bin/homedir-push

Fri, 16 Aug 2019 15:11:18 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 16 Aug 2019 15:11:18 -0400
changeset 782
a387569893af
parent 261
6254589972e6
permissions
-rwxr-xr-x

cleanup

#!/bin/sh
set -eu

TARGET=$1

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

mercurial