bin/homedir-push

Tue, 07 Jan 2020 14:27:38 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 07 Jan 2020 14:27:38 -0600
changeset 847
3d460b026be9
parent 261
6254589972e6
permissions
-rwxr-xr-x

Better multipart, working tmpfile cleanup

#!/bin/sh
set -eu

TARGET=$1

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

mercurial