changes for buster linode
[distro-setup] / brc
diff --git a/brc b/brc
index 5df2c27211dd13c6c8acb7239a2d71ea8fdef1e7..9fff367476d4fb1413831f1f4255e6f5be113f53 100644 (file)
--- a/brc
+++ b/brc
@@ -426,6 +426,14 @@ bpush() {
   install-my-scripts
   switch-mail-host $HOSTNAME $1
 }
+lipush() {
+  rsync $@ --delete-excluded -ahviSAXPH --specials --devices --delete --relative \
+        --exclude-from=/p/c/li-rsync-excludes /a/bin /a/exe /a/h /a/c /p/c/machine_specific/li /a/opt/{emacs,emacs-debianstable,mu} root@li:/
+}
+lipushnoe() {
+  rsync $@ --delete-excluded -ahviSAXPH --specials --devices --delete --relative \
+        --exclude-from=/p/c/li-rsync-excludes /a/bin /a/exe /a/h /a/c /p/c/machine_specific/li  root@li:/
+}
 
 
 btc() {
@@ -1554,7 +1562,7 @@ rspicy() { # usage: HOST DOMAIN
 sudo virsh dumpxml $2|grep "<graphics.*type='spice'" | \
        sed -rn "s/.*port='([0-9]+).*/\1/p"
 EOF
-        )
+      )
   if [[ $port ]]; then
     spicy -h $1 -p $port
   else
@@ -1944,7 +1952,8 @@ tu() {
   if [[ -e $1 && ! -w $1 || ! -w $(dirname "$1") ]]; then
     s=s;
   fi
-  $s teeu "$@"
+  # full path for using in some initial setup steps
+  $s /a/exe/teeu "$@"
 }
 
 tx() { # toggle set -x, and the prompt so it doesnt spam