From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <002b01c14c05$d690dd10$a2b9c6d4@SOMA> From: "Boyd Roberts" To: <9fans@cse.psu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: [9fans] bk - a quick backup hack Date: Wed, 3 Oct 2001 14:20:49 +0200 Topicbox-Message-UUID: fbd0b7ae-eac9-11e9-9e20-41e7f4b1d025 #!/bin/rc # push /usr/boyd over to c:/plan9/boyd c=/n/c: p9=$c/plan9 d=$p9/boyd t=$d/`{date -n}^.tar if (test ! -d $p9) c: || exit c: if (test ! -d $d) mkdir $d || exit $d cd $home || exit $home tar cvf $t . && chmod -w $t && ls -l $t