bin/homedir-push

Tue, 08 Jun 2021 22:55:49 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 08 Jun 2021 22:55:49 -0500
changeset 909
aa1b7e2ef1d9
parent 261
6254589972e6
permissions
-rwxr-xr-x

improve K bind and set remain-on-exit

#!/bin/sh
set -eu

TARGET=$1

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

mercurial