9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] bk - a quick backup hack
@ 2001-10-03 12:20 Boyd Roberts
  0 siblings, 0 replies; only message in thread
From: Boyd Roberts @ 2001-10-03 12:20 UTC (permalink / raw)
  To: 9fans

#!/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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-03 12:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-03 12:20 [9fans] bk - a quick backup hack Boyd Roberts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).