bin/homedir-push

Fri, 20 Aug 2021 02:25:51 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 20 Aug 2021 02:25:51 -0400
changeset 939
b769704bb258
parent 261
6254589972e6
permissions
-rwxr-xr-x

auto-prune junk directories

#!/bin/sh
set -eu

TARGET=$1

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

mercurial