home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / bbs / nlu_help / nlupdate.txt < prev   
Text File  |  1993-06-13  |  3KB  |  66 lines

  1. Here's a little help with the NlUpdate program.
  2.  
  3. Take a look at the enclosed NLUPDATE.TOM file (a batch file for use with
  4. Tomshell, the CLI I use).
  5.  
  6. :nodelistupdate
  7. cd p:\nl\
  8. nlupdate.ttp
  9. :
  10. :  NodeList Updater checks my protected inbound folder and processes
  11. :  new nodelists and nodediffs automatically.  If there isn't anything new,
  12. :  it doesn't do anything, just exits.  I run it every night.
  13. :
  14. set owrite on
  15. cp *.dat k:\bt\nl\
  16. cp *.idx  k:\bt\nl\
  17. cp ????user.lst k:\bt\nl\
  18. :finished
  19.  
  20. Not much to it, is there?  NlUpdate does almost everything for you, which is
  21. what's really nice about it, of course.  Most of the batch file you see here
  22. is actually unneccesary, I'm just a little overcautious about data loss.
  23. I run Parselst and NlUpdate from my P: drive, but I actually use copies of
  24. the parsed nodelist on the K: drive.  That way, if anything goes terribly
  25. wrong before the batch file gets to the copy commands ("cp" in Tomshell),
  26. I'll still have a good copy of last week's parsed lists.
  27.  
  28. Here's my config file:
  29.  
  30. NetFile K:\BT\PROT\
  31. NodeList P:\NL\
  32. StatusLog K:\LOGS\NLUPDATE.LOG
  33. Lis1 CZ atarlist 1 -catarinet.cfg -oatar 
  34. Lis2 CZZ nodelist,nodediff 11 -cfidonet.cfg -onode
  35. Lis3 CZ nestlist 1 -cnest.cfg -onest
  36. NListComp P:\NL\PARSELST.TTP
  37. ArcImp C:\ARCSHELL\ARC.TTP xw
  38. ArcExp C:\ARCSHELL\ARC.TTP aw
  39. LzhImp C:\ARCSHELL\LHA.TTP x
  40. LzhExp C:\ARCSHELL\LHA.TTP a -m
  41. ZipImp C:\ARCSHELL\ZIPJR.TTP -x
  42. ZipExp C:\ARCSHELL\ZIPJR.TTP -a
  43. NewList E:\ATARNETS\
  44. ListArea P:\LISTS\
  45. DiffArea P:\DIFFS\
  46. LOG
  47.  
  48. This setup assumes that the Nestlist and Atarlist files are coming in
  49. complete.  If they ever change to use weekly diff files like Fidonet does,
  50. then I can just change the relevant config lines and NlUpdate will handle all
  51. the donkey work.  After unarchiving the new lists, NlUpdate will then repack
  52. them as Zip files for me, and keeps the latest "1" of each type.  The new
  53. Zips are placed in the NewList directory.  I haven't seen anything in the
  54. ListArea or DiffArea, so I don't know what they're really for, but as long as
  55. my setup is working, I'm not going to kill the folders, either. %^)
  56.  
  57. The "NodeList" folder should contain your Parselst.TTP and various config
  58. files, for simplicity (see the "NListComp" line in the config file above).
  59.  
  60. Any questions?  Call me voice at 1-318-439-3289, or call the STarship at
  61. 1-318-439-6963 and ring for a chat.
  62.                
  63.                                    Rich Tietjens
  64.                                    aka Captain Blade
  65.                                    Sysop, STarship
  66.