|
|
1.1 root 1: .TH NFDUMP 8 "University of Illinois"
2: .SH NAME
3: nfdump, nfload - notesfile dump/load programs
4: .SH SYNOPSIS
5: .B "nfdump"
6: notesfile
7: .PP
8: .B "nfload"
9: [
10: .BI "-D" directory
11: ]
12: notesfile
13: .SH DESCRIPTION
14: .I Nfdump
15: and
16: .I nfload
17: are used to convert notesfile data base formats.
18: .PP
19: .I Nfdump
20: converts the specified notesfile to a portable ASCII format
21: and writes it to
22: standard output.
23: Some diagnostics are produced on stderr.
24: .I Nfdump
25: can be run by any user;
26: access to a particular notesfile is governed by that notesfile's
27: access list.
28: .PP
29: .I Nfload
30: is used on the output from
31: .I nfdump
32: to create a new notesfile.
33: The
34: .B -D
35: option specifies an alternate base directory for the notesfile.
36: If unspecified, this defaults to
37: ``/usr/spool/notes''.
38: .I Nfload
39: reads standard input for the ASCII representation of the notesfile.
40: .PP
41: Typical use of these two programs occurs when converting an existing
42: notesfile data base to a new format.
43: The
44: .I nfdump
45: program should be compiled with the older structure definitions
46: while
47: .I nfload
48: is compiled with the newer structures.
49: The data base can then be converted with a shell script of the
50: following nature:
51: .sp
52: .nf
53: mkdir .OLD
54: mv * .OLD
55: for i in `ls .OLD`
56: do
57: echo $i start
58: nfdump $i | nfload -D/usr/spool/newnotes $i
59: done
60: echo $i done
61: echo ALL DONE
62: rm -rf .OLD
63: .fi
64: .sp
65: This assumes that the old data base is in ``/usr/spool/notes''
66: and the new data base is to be placed in ``/usr/spool/newnotes''.
67: After the conversion is complete, one can move
68: the old data base from ``/usr/spool/notes'' to ``/usr/spool/oldformat''
69: and the new data base from ``/usr/spool/newnotes'' to ``/usr/spool/notes''.
70: .SH FILES
71: .SH SEE ALSO
72: notes(1),
73: .br
74: .ul
75: The Notesfile Reference Manual
76: .SH AUTHORS
77: .nf
78: Ray Essick (uiucdcs!essick, essick%[email protected])
79: Department of Computer Science
80: University of Illinois at Urbana-Champaign
81: Urbana, IL
82: .sp
83: Rob Kolstad ([email protected])
84: CONVEX Computer Corporation
85: Richardson, TX
86: .fi
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.