bin/homedir-push

Sun, 09 Jan 2022 15:17:13 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 09 Jan 2022 15:17:13 -0500
changeset 968
0db164e368c5
parent 261
6254589972e6
permissions
-rwxr-xr-x

keep shell stuff in one place, distinguish by ext

#!/bin/sh
set -eu

TARGET=$1

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

mercurial