bin/homedir-push

Tue, 17 Jan 2017 21:55:05 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 17 Jan 2017 21:55:05 -0500
changeset 477
eeafc178ddc4
parent 261
6254589972e6
permissions
-rwxr-xr-x

add -f for only plain files

#!/bin/sh
set -eu

TARGET=$1

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

mercurial