1NFDUMP(8) System Manager's Manual NFDUMP(8)
2
3
4
6 nfdump, nfload - notesfile dump/load programs
7
9 nfdump notesfile
10
11 nfload [ -Ddirectory ] notesfile
12
14 Nfdump and nfload are used to convert notesfile data base formats.
15
16 Nfdump converts the specified notesfile to a portable ASCII format and
17 writes it to standard output. Some diagnostics are produced on stderr.
18 Nfdump can be run by any user; access to a particular notesfile is gov‐
19 erned by that notesfile's access list.
20
21 Nfload is used on the output from nfdump to create a new notesfile.
22 The -D option specifies an alternate base directory for the notesfile.
23 If unspecified, this defaults to ``/usr/spool/notes''. Nfload reads
24 standard input for the ASCII representation of the notesfile.
25
26 Typical use of these two programs occurs when converting an existing
27 notesfile data base to a new format. The nfdump program should be com‐
28 piled with the older structure definitions while nfload is compiled
29 with the newer structures. The data base can then be converted with a
30 shell script of the following nature:
31
32 mkdir .OLD
33 mv * .OLD
34 for i in `ls .OLD`
35 do
36 echo $i start
37 nfdump $i | nfload -D/usr/spool/newnotes $i
38 done
39 echo $i done
40 echo ALL DONE
41 rm -rf .OLD
42
43 This assumes that the old data base is in ``/usr/spool/notes'' and the
44 new data base is to be placed in ``/usr/spool/newnotes''. After the
45 conversion is complete, one can move the old data base from
46 ``/usr/spool/notes'' to ``/usr/spool/oldformat'' and the new data base
47 from ``/usr/spool/newnotes'' to ``/usr/spool/notes''.
48
51 notes(1),
52 The Notesfile Reference Manual
53
55 Ray Essick (uiucdcs!essick, essick%uiuc@csnet-relay.arpa)
56 Department of Computer Science
57 University of Illinois at Urbana-Champaign
58 Urbana, IL
59
60 Rob Kolstad (kolstad@convex.UUCP)
61 CONVEX Computer Corporation
62 Richardson, TX
63
64
65
66 University of Illinois NFDUMP(8)