home *** CD-ROM | disk | FTP | other *** search
-
-
-
- =====( CheckFileBase V1.10 )=======================================
-
-
- Trion 'CheckFileBase' Utility.
-
- (c) Copyright Paul Spijkerman, '96-'98. All rights reserved.
-
- Written for use with the Trion BBS package.
-
-
- ===================================================================
-
-
- CheckFileBase is a Utility mainly to fix problems in
- your filebase fully automatically without the sysop
- having to edit or remove files.
-
- It can do a scan first just indicating wath the
- problems are without changing anything.
-
-
- It can check and correct the dates of files, if a file is
- Uploaded 'in the future' .. if the date is in the future it
- can change the date to now. (this can happen when bulkupload
- uploads files with a wrong datestamp or some programm
- has changed your clock (demos or games)).
-
- It can check and correct file sizes, it checks if the size
- of the fysical file is the same as the number for the
- file size in the file catalogue.
-
- It can check if there is a fysical file for every
- file catalogue entry and remove the entry from
- the file catalogue if there isn't a file.
-
- It can set the validate flags on files so you don't
- have to validate all new files by hand.
- Files have to be validated (checked after upload)
- before users can download them (unless you have
- a sysop level).
-
- It can check if files are in the GlobalIndex and
- remove them if they are not in the GlobalIndex.
- Every file had an entry in the file catalogue with
- a lot of information .. but also every file has a short
- entry in the globalindex, this is needed for very quick
- access to the file catalogue if it has to be downloaded
- or if there has to be checked if a file exists yet
- (while uploading for instance) .. because the file
- is sorted on name and the TrionRM has an index in memory of
- the characters the names start with it can get the
- position in the file catalogue of the file in a split second.
- So if a file is for some reason not in the global index,
- this can cause problems (it can be uploaded twice and
- not be downloaded).
- CheckFileBase can remove files which are not in the
- GlobalIndex file.
-
- It can remove files older then a certain number of days,
- if you for instance only allow files to be on your
- BBS for one month then you can delete files older
- then 30 days by using the O optione and put a number
- on the command line.
-
-
- You can use the folowing commands with CheckFileBase:
-
- L = Scan only, don't change a thing. (scans faster then 'I')
- I = Scan also if file in GlobalIndex. (not in 'L' scan mode)
-
- T = Correct time and dates.
- S = Correct size.
- P = Check if file is present.
- V = Validate file.
- K = Check if file in GlobalIndex. (remove if not)
- O = Remove files older then a given number of days.
- A = All of the above.
-
- Also it has a vew options:
-
- -Q = Quiet operation.
- -D = debug.
-
-
- (Note that it can be usefull to redirect the output from
- the programm to a file in RAM: to check what exactly
- was fixed and changed).
-
-
- The 'L' command scans all problems but not if files are
- in the global index, this mode is the fastest.
-
- The 'I' command scans all problems including if files are
- in the global index, this mode is a little slower
- but still pretty fast (compared with bulkupload or
- RMCommander).
-
- If you don't want to scan but fix things you can use a
- number of commands .. or just use command 'A' to do
- all of them. Things will only be fixed if you use the
- corresponding command.
-
-
-
-
-