bin/homedir-push

Thu, 28 Jan 2016 23:06:19 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 28 Jan 2016 23:06:19 -0500
changeset 249
5bba2e094584
parent 248
.homedir-push.sh@6aef60121f57
child 261
6254589972e6
permissions
-rwxr-xr-x

Move helper scripts into bin with common names

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
6aef60121f57 quieter error when no arg
Meredith Howard <mhoward@roomag.org>
parents: 247
diff changeset
6 hg archive -t tgz -p . - | ssh $TARGET tar xzv

mercurial