btrbk functions
authorIan Kelling <iank@fsf.org>
Sat, 1 Jun 2019 00:58:56 +0000 (20:58 -0400)
committerIan Kelling <iank@fsf.org>
Sat, 1 Jun 2019 00:58:56 +0000 (20:58 -0400)
brc

diff --git a/brc b/brc
index 84386907d92e1f4f53683068ac70ec77d73d48c5..ed1f51d7e59f55d34d48f1d8a3218e2b4ea190bd 100644 (file)
--- a/brc
+++ b/brc
@@ -378,11 +378,20 @@ bigclock() {
 }
 
 bpull() {
+  [[ $1 ]] || return 1
   c /
   # run latest
   install-my-scripts
-  switch-mail-host $1 $HOSTNAMEs
+  switch-mail-host $1 $HOSTNAME
 }
+bpush() {
+  [[ $1 ]] || return 1
+  c /
+  # run latest
+  install-my-scripts
+  switch-mail-host $HOSTNAME $1
+}
+
 
 btc() {
   local f=/etc/bitcoin/bitcoin.conf