shithub: 9scripts

Download patch

ref: 40f690d9f406d75d64d4c0bcb93fe35f8c2531d2
parent: 032f2e35d7fd79704b99c183cbf9243eb82d403d
author: glenda <glenda@9front.local>
date: Fri Jan 1 14:12:25 EST 2021

added rcp script

--- a/util/pomodoro
+++ b/util/pomodoro
@@ -8,8 +8,8 @@
 	rtimesec=$2
 }
 
-wtime = {echo $wtimesec * 60 | bc}
-rtime = {echo $rtimesec * 60 | bc}
+wtime = `{echo $wtimesec * 60 | bc}
+rtime = `{echo $rtimesec * 60 | bc}
 
 echo running a pomodoro of $wtime and $rtime
 while( ){
--- /dev/null
+++ b/util/rcp
@@ -1,0 +1,8 @@
+#! /bin/rc -e 
+# rcp destaddr remotedir localfiles
+
+rimport $1 / /n/rcproot
+shift
+rdir = $1
+shift
+cp $* /n/rcproot/$rdir