Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

nfdump(8) [bsd man page]

NFDUMP(8)						      System Manager's Manual							 NFDUMP(8)

NAME
nfdump, nfload - notesfile dump/load programs SYNOPSIS
nfdump notesfile nfload [ -Ddirectory ] notesfile DESCRIPTION
Nfdump and nfload are used to convert notesfile data base formats. Nfdump converts the specified notesfile to a portable ASCII format and writes it to standard output. Some diagnostics are produced on stderr. Nfdump can be run by any user; access to a particular notesfile is governed by that notesfile's access list. Nfload is used on the output from nfdump to create a new notesfile. The -D option specifies an alternate base directory for the notesfile. If unspecified, this defaults to ``/usr/spool/notes''. Nfload reads standard input for the ASCII representation of the notesfile. Typical use of these two programs occurs when converting an existing notesfile data base to a new format. The nfdump program should be compiled with the older structure definitions while nfload is compiled with the newer structures. The data base can then be converted with a shell script of the following nature: mkdir .OLD mv * .OLD for i in `ls .OLD` do echo $i start nfdump $i | nfload -D/usr/spool/newnotes $i done echo $i done echo ALL DONE rm -rf .OLD This assumes that the old data base is in ``/usr/spool/notes'' and the new data base is to be placed in ``/usr/spool/newnotes''. After the conversion is complete, one can move the old data base from ``/usr/spool/notes'' to ``/usr/spool/oldformat'' and the new data base from ``/usr/spool/newnotes'' to ``/usr/spool/notes''. FILES
SEE ALSO
notes(1), The Notesfile Reference Manual AUTHORS
Ray Essick (uiucdcs!essick, essick%uiuc@csnet-relay.arpa) Department of Computer Science University of Illinois at Urbana-Champaign Urbana, IL Rob Kolstad (kolstad@convex.UUCP) CONVEX Computer Corporation Richardson, TX University of Illinois NFDUMP(8)

Check Out this Related Man Page

CHECKNOTES(1)						      General Commands Manual						     CHECKNOTES(1)

NAME
checknotes - check for new notesfile articles SYNOPSIS
checknotes [ -qnvs ] [ -aname ] DESCRIPTION
Checknotes reports on the existence of new notes. The NFSEQ environment variable is read to determine the notesfiles to examine for new text. Checknotes then looks at each of the notesfiles to determine if there are new notes. The various flags specify the method of noti- fication. The flags are mutually exlusive. The -q option specifies a message ``There are new notes'' when such is the case. No text is printed if there are no new notes. Specify -n to get a message ``There are no new notes'' if this is the case. If there are new notes, no message is printed. With the -v option enabled, checknotes prints the name of each notesfile containing new notes. The -s option is silent; no output is produced. Regardless of the option, the program exits with 0 (TRUE) if new notes exist and with 1 (FALSE) if no new notes exist. The -a option specifies a subsequencer. This allows several people sharing the same signon to maintain their own sequencer files. This switch does not allow users to forge other user's sequencer files. Since the name is concatenated with the user name, arbitrarily long subsequencer names aren't necessarily unique. A good rule of thumb is to ensure the first 6 characters of any given user's subsequencer names are unique. FILES
/etc/passwd for the users name /etc/group for the users group(s) /usr/spool/notes the default notesfile data base /usr/spool/notes/.sequencer/user Sequencing timestamps for user. /usr/spool/notes/.sequencer/user:subsequencer Sub-sequencing timestamps for user. SEE ALSO
notes(1), The Notesfile Reference Manual AUTHORS
Ray Essick (uiucdcs!essick, essick%uiuc@csnet-relay.arpa) Department of Computer Science University of Illinois at Urbana-Champaign Urbana, IL Rob Kolstad (kolstad@convex.UUCP) CONVEX Computer Corporation Richardson, TX University of Illinois CHECKNOTES(1)
Man Page