bin/homedir-push

Sun, 05 Mar 2023 20:36:54 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 05 Mar 2023 20:36:54 -0500
changeset 1065
23229c179f82
parent 261
6254589972e6
permissions
-rwxr-xr-x

I can just repeat

#!/bin/sh
set -eu

TARGET=$1

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

mercurial