bin/homedir-push

Sun, 09 Jan 2022 14:57:39 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 09 Jan 2022 14:57:39 -0500
changeset 965
f1e5d30543ba
parent 261
6254589972e6
permissions
-rwxr-xr-x

forget the minimal setup mode

247
c0035582fdd7 add .homedir-push.sh
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 #!/bin/sh
c0035582fdd7 add .homedir-push.sh
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 set -eu
c0035582fdd7 add .homedir-push.sh
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3
248
6aef60121f57 quieter error when no arg
Meredith Howard <mhoward@roomag.org>
parents: 247
diff changeset
4 TARGET=$1
6aef60121f57 quieter error when no arg
Meredith Howard <mhoward@roomag.org>
parents: 247
diff changeset
5
261
6254589972e6 update only
Meredith Howard <mhoward@roomag.org>
parents: 249
diff changeset
6 hg archive -t tgz -p . - | ssh $TARGET tar xz --keep-newer-files

mercurial