home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / BBS_UTIL / DOLD102.ZIP / DELOLD.DOC < prev    next >
Text File  |  1994-02-20  |  12KB  |  256 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.                               --=[ DELOLD ]=--
  17.                                      by
  18.                                 Lyn Borchert
  19.                     Copyright (c), 1994 by Lyn Borchert
  20.                             All rights reserved
  21.  
  22.  
  23.  
  24.  
  25.  
  26. WHY WRITE SUCH A PROGRAM
  27.     Like most of the programs I have written, this was written for my
  28.     personal use.  Sometimes a program I write works so nicely that I
  29.     decide to share it with the rest of my fellow BBS sysops.  DELOLD is
  30.     one of those programs.  Since the use of the File_id.diz file started
  31.     becoming popular, I wanted to make use of it on my BBS.  While it was
  32.     easy enough to import the contents of a file_id.diz file into my
  33.     FILES.BBS description files, doing so lead to some other maintenance
  34.     related problems.  As yet, I haven't found a good utility to doing
  35.     maintenance (mainly moving and sorting) on my file system that includes
  36.     support for extended descriptions.  I also was to the place where drive
  37.     space was becoming scarce and at the rate users were uploading I was
  38.     having to manually hunt for old files to delete so as not to run out of
  39.     drive space.
  40.  
  41.     Back in the days when a BBS running on 80 to 100 meg was considered a
  42.     good sized BBS, manually maintaining the file section wasn't too tough.
  43.     Now a days with 800 plus meg systems are the norm, it has become a
  44.     chore to maintain a files section.  On my system I have 60 different
  45.     directories with several screens of descriptions. To hunt through
  46.     each and every one looking for old files plus moving the new uploads
  47.     into their proper areas has become a full time job and frankly was
  48.     taking away from the fun of running a BBS.  So, not finding anything to
  49.     help me automate things, I sat down one night and wrote this little
  50.     utility.
  51.  
  52. HOW IT WORKS
  53.     I wanted something that would scan through all my file directories
  54.     looking for files over so many days old.  I like to not have files that
  55.     are much over one year old on my system.  It scans the file dates and
  56.     determines which files need deleting.  It then deletes them, and starts
  57.     removing the deleted files descriptions from the FILES.BBS file located
  58.     in the same directory.
  59.  
  60.     The first version worked on only one directory at a time and was
  61.     command line driven.  Meaning you entered on the commandline the
  62.     directory you wanted it to work on and how many days old a file had to
  63.     be to get deleted.  This worked well, but seemed silly since there
  64.     would likely be several directories that the sysop would want to
  65.     process.  So, in the next release, I moved the command line parameters
  66.     into a config file.  The program works exactly the same except it now
  67.     reads the area to work on from the config file.
  68.  
  69. INSTALLATION
  70.     I have the exe file (DELOLD.EXE) placed in my \TOOLS directory.  The
  71.     tools directory is in my path, so no matter where I run the program
  72.     from, DOS can find it.  I keep the config file in my BBS home directory
  73.     which is the directory I run my nightly maintenance from.  This way I
  74.     don't have to have a long command line pointing to the config file and
  75.     the DELOLD.LOG file is created in the same directory as the rest of my
  76.     logs so when I archive them they are all right there.
  77.  
  78.     So, the first thing you need is a config file.  There is a sample
  79.     config file that comes with DELOLD.  This is actually the config file
  80.     that I use on my system.  Either change this one to match your system
  81.     or create a new one.  Place it anywhere you like on your hard drive.
  82.  
  83.  
  84.     Now, simply run DELOLD with the full path and filename to your config
  85.     file.  Like this:
  86.  
  87.     DELOLD c:\tools\delold.cfg
  88.  
  89.     If your config file is located in the current directory, you only need
  90.     the filename on the command line. Like this:
  91.  
  92.     DELOLD delold.cfg
  93.  
  94.     The log file is created in whatever directory is the current directory
  95.     when you run the program.  If a log file already exists, DELOLD will
  96.     append this runs activity to the end of the existing log file.
  97.  
  98.     If you like, you can do like I have done and have DELOLD run
  99.     automatically in a weekly event.  Every Tuesday in the wee hours of the
  100.     morning my system is purged of old files and I archive all my log files
  101.     at this time also.  Or, you could just run it whenever you need some
  102.     more hard drive space.
  103.  
  104. REGISTRATION
  105.     It's important to register.  If this version of the program suites your
  106.     needs and you don't care to have any further enhancements then all you
  107.     need to do to register is send me a netmail or postcard saying you like
  108.     it and are using it.
  109.  
  110.     If you would like to see more features added to the program, then send
  111.     in $5.00.  The money received will be incentive for me to do more work
  112.     on this program so that some day the enhancements listed below may be
  113.     added and a new version released.
  114.  
  115.     If you don't send a netmail or a postcard or the $5.00, then please
  116.     don't use my program for more than the evaluation period.
  117.  
  118.     I will happily answer any questions sent to me about this program, but
  119.     I don't guarantee that I'll ever release another version.  It just
  120.     depends on how much response I receive and/or whether I need further
  121.     enhancements for my own use.  Even if I do make enhancements for my own
  122.     use, I won't release another version unless this one was well received.
  123.     That's why it's important for you to register. <grin>
  124.  
  125.     Maybe I should call this ego-ware.
  126.  
  127.     Send your Netmail to 1:300/12.0@fidonet.org
  128.  
  129.     Fax a note to (602) 326-2999
  130.  
  131.     Send your postcard and/or $5.00 to:
  132.          Lyn Borchert
  133.          4956 E. 3rd Street
  134.          Tucson, Az.  85711
  135.  
  136.     Call The Hour Glass BBS for other programs I've written or just to
  137.     check out the BBS if you like.  (602) 326-2999
  138.  
  139.  
  140. DISTRIBUTION
  141.     Please make sure that all files are included when you pass it one.
  142.     Changing the archive format is fine so long as all the files of the
  143.     original distribution are kept in the archive.
  144.  
  145.     You are encouraged to distribute DELOLD provided that all files
  146.     contained in the archive are distributed in their original and
  147.     unmodified state and the root filename remains as "DOLD<version
  148.     number>", I.E. "DOLD102" for version 1.02 of DELOLD.
  149.  
  150.     This program is full  functioning  and  has  no "ShareWare Screens"
  151.     that are used  to  annoy  you  to  death. Feel free to thank me for
  152.     that by sending in your postcard or netmail registration.
  153.     
  154.     If you are compiling a CD-ROM or you sell Diskettes containing
  155.     Shareware products, you have my permission to include this copy of
  156.     DELOLD provided you make it clear to your customers that they are not
  157.     paying for the software when they send you money.  It is your
  158.     responsibility to insure that your customers realize they still have to
  159.     register this program with the author if they intend to use it.
  160.  
  161. FUTURE ENHANCEMENTS
  162.     I'm already thinking up ways to improve DELOLD.  In the future releases
  163.     I may include some of the following ideas.  If you have an idea, please
  164.     include it with your registration.
  165.  
  166.     SORTing of the FILES.BBS file.  I prefer my files to display in a
  167.     sorted order rather than oldest first like so many BBS programs cause
  168.     to happen.
  169.  
  170.     LIST generation.  It would seem a perfect marriage for DELOLD to also
  171.     generate an ALLFILES kind of listing while it did it's current job.
  172.     Since I don't have a utility to do that currently, it's pretty likely
  173.     that I will add this feature in the very near future.
  174.  
  175.     MOVING as an option to deleting.  I realize that some people may prefer
  176.     to move files to a different drive so they can decide what old files
  177.     they would like to keep for themselves or you could have an "About to
  178.     Be Deleted" file area so users know ahead of time that these files are
  179.     going away soon.
  180.  
  181.     DUPLICATE / VERSION control.  Since most BBS systems only check for
  182.     duplicate filenames that match exactly it's possible to get duplicate
  183.     files online.  I could create a better method for checking for
  184.     duplicate files.  It's also possible to check for files that are have
  185.     newer versions since more filenames only change by their version
  186.     numbers.
  187.  
  188.     STRIPPING punctuation characters from filenames.  It's become a common
  189.     practice for shareware game companies to put exclamation points and
  190.     other such characters in the filenames of their distribution files.
  191.     This often makes their files float to the top of a sorted file listing
  192.     and makes the file unusable on a CD-ROM.  Users also tend to strip off
  193.     these characters thus bypassing your BBSes ability to detect them as
  194.     duplicate uploads.
  195.  
  196.     AUTO CONVERTing archive formats.  This one is a little beyond the scope
  197.     if have envisioned for my utility, but is a possible function to be
  198.     added later.
  199.  
  200.  
  201.     TOUCHing file dates.  Most BBSes stamp an upload with the date it was
  202.     uploaded to the system.  This can cause a 1988 program to reside in a
  203.     1994 dated archive.  I currently re-archive all uploads to my system
  204.     making the archive file date the same as the newest file inside the
  205.     archive.  This gives a more accurate accounting of the files age in my
  206.     opinion even though it defeats the NEW FILE SEARCH of my BBS.  It would
  207.     be easy to have this program stamp the archive date to match the date
  208.     of the new file inside the archive.
  209.  
  210.     That's just a few of the ideas I've had for enhancements to DELOLD.
  211.     Whether or not they become available to the rest of the world depends
  212.     on how many of you register this version.
  213.  
  214.     I'm open to additional ideas also.
  215.  
  216. COMPATIBILITY
  217.     DELOLD should be compatible with any system using the FILES.BBS file
  218.     system.  There are some BBSes that use a slightly different format for
  219.     the files.bbs file and some allow the system to alter the name of the
  220.     file.  TRIBBS is one such BBS program.  DELOLD will work with a TRIBBS
  221.     file system provided you are using the name of FILES.BBS instead of
  222.     FILES.LST which I think TriBBS defaults to.  The format is slightly
  223.     different also in that it contains the files date and size in the
  224.     description file.  DELOLD won't care about that and should work
  225.     properly with this additional information in the file.
  226.  
  227.     Extended descriptions must begin to the left of column 3 of the
  228.     FILES.BBS file. Any valid character in column one is treated as the
  229.     first line of a file description by DELOLD so if your extended
  230.     descriptions start at column one, two, or three, DELOLD will probably
  231.     not work properly.  Otherwise you should be safe.  DELOLD does take
  232.     into consideration that you may have a few lines at the beginning of
  233.     your FILES.BBS for describing the current area.  Here again, so long as
  234.     none of these lines begins in the first three columns of the file you
  235.     should be OK.
  236.  
  237. WARRANTY
  238.     This product is provided "as is" without warranty of any kind. The entire
  239.     risk as to the results and  performance of the program is assumed by you.
  240.     Futhermore, the  author does  not warrant, guarantee, or  make any  other
  241.     representations regarding  the use of,  or the  results of the use of the
  242.     program,  and you  rely on the  program and  results  solely at  your own
  243.     risk.  The author  cannot and  will not accept  responsibility for system
  244.     damage, loss of profit, or any other special, consequential or incidental 
  245.     damages  resulting  from  the  use  or  inability  to  use this  product.
  246.  
  247. COPYRIGHT / LICENSE
  248.     DELOLD Copyright (c) 1993-94 by Lyn Borchert is being distributed
  249.     as Shareware. Under this concept you may use the SHAREWARE  (unregistered)
  250.     version for a reasonable period of  time for evaluation  after which you
  251.     must either register your copy or discontinue usage. For the purposes
  252.     of this document, "a reasonable period of time" is considered to not be
  253.     longer than 30 days.
  254.  
  255.    
  256.