home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
BBS
/
OUFP109.ZIP
/
OUFP109.DOC
< prev
Wrap
Text File
|
1993-01-01
|
6KB
|
144 lines
OUFP V1.09 -- Copyright 1993, Trevor B. Roydhouse, All Rights Reserved
Sentry BBS -- Australia (02) 428-4687 -- International +61-2-428-4687
Opus v1.7x and v1.8x User File Purger
SYNTAX: OUFP X [Y] [A] [-B] [-D] [-O] [-Llogfile] [-Uuserfile]
X Callers who have not called in x days
will be deleted if other criteria met
Y Callers who have made y calls or fewer
will be deleted if other criteria met
(default 32676)
A First letter of access level (default NORMAL)
(callers of access level a and below
will be deleted if other criteria met)
-B delete user.bak file created by OUFP
-D enable debugging information
-N do NOT re-index user file this time
-O append purged records to user.old file
-Llogfile log summary of deletions to this file
-Uuserfile alternative user file pathname, assumed *.dat
For example: OUFP 45 2 d -d -lpurge.log would show:
OUFP V1.09 -- Copyright 1993, Trevor B. Roydhouse, All Rights Reserved
Sentry BBS -- Australia (02) 428-4687 -- International +61-2-428-4687
Users will be deleted if:
No call since : Tue Nov 17 22:57:16 1992
No call within : 45 days
Number of calls : 2 or fewer
Access is : Disgrace or below
... and produce a log file like this:
--------------------------------------------------------------------------
User Priv Calls Last called
--------------------------------------------------------------------------
John Yang D 2 Sat Oct 24 10:37:42 1992
Mike Lynn D 2 Mon Oct 26 17:00:27 1992
Ed Fraser D 2 Fri Nov 13 16:29:55 1992
Mark Farnan D 2 Tue Nov 17 10:59:37 1992
Dave Hill D 1 Tue Nov 17 00:27:15 1992
Nathan Hamilton D 1 Tue Nov 17 10:19:13 1992
Karl Gebicki D 2 Marked for Purging
Rod Tyldsley D 1 Marked for Purging
Alex Ibarcena D 1 Marked for Purging
OUFP V1.09 purged 9 user(s) on Fri Jan 1 23:02:37 1993
==========================================================================
HISTORY
V1.00 -- 27 April 1990
V1.01 -- 30 April 1990
-- eliminated zero length user.old files when no
records purged, but -o switch specified
V1.02 -- 6 May 1990
-- may now specify a (access level) without having
to also specify y (number of calls)
-- added number of days to debug info date display
-- added command summary screen
V1.03 -- 7 May 1990
-- cosmetic changes to command summary screen
V1.04 -- 20 May 1990
-- changed /filename option to -Ufilename
-- added -Lfilename logging option
-- fixed report of deleted records being one more
than deleted if last record deleted
-- compiled with Zortech C++ V2.09
V1.05 -- 27 May 1990
-- added letter of privilege level to log
V1.06 -- 26 December 1990
-- updated for Opus V1.20
-- compiled with Zortech C++ V2.14
V1.07 -- 14 July 1991
-- updated for Opus 1.70
V1.08 -- 27 January 1992
-- added -N command line switch to stop the user
file from being re-indexed to save time, wear
& tear for those running the program more than
once in a batch file (thanks to Michael Downing
for the suggestion)
V1.09 -- 1 January 1993
-- fixed problem with OUFP reporting insufficient
disk space at the 33615872 byte mark (thanks
to George Fliger for pinpointing the bug in
the ZTC++ v2.14 dos_getdiskfreespace function)
-- will now delete records marked for PURGE with
OUFM
-- compiled with Zortech C++ V3.00r4
BUGS/MITES/SUGGESTIONS
OUFP has been extensively tested on the Sentry BBS and Sentry's Shadow
BBS with no apparent ill effects. Should you discover what you suspect
is a bug, or even just a mite, or have any suggestions for the program
feel free to:
a) send a netmail message to me at the Sentry BBS or Sentry's
Shadow BBS (FidoNet Addresses: 3:711/401 and 3:711/501);
b) call the Sentry BBS on (02) 428-4687 (PEP modem) or Sentry's
Shadow BBS (02) 418-6682 (V32bis modem) and leave me a message;
c) write to me at P.O. Box 1605, Macquarie Centre,
New South Wales 2113, Australia.
LICENSE
All Sysops are hereby authorised to use and/or distribute OUFP.COM
provided only that (1) no money is charged for either its use or
distribution and (2) it is distributed together with this document
file.
DISCLAIMER OF LIABILITY
The author expressly disclaims any and all liability to any person in
respect of anything, and of the consequences of anything, done or
omitted to be done by OUFP.COM. Be warned: Slippery when wet!
LATEST VERSION
The latest version of OUFP may always be Wazoo or Bark File Requested from
Sentry (3:711/401 - PEP modem) or Sentry's Shadow (3:711/501 - V32bis modem)
outside of the Zone 1 mail hour and the Zone 3 mail hour (plus and minus 1.5
hours). File requests for the magic filename OUFP will always result in your
obtaining the latest version.