home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 17
/
CD_ASCQ_17_101194.iso
/
vrac
/
sfofp24b.zip
/
SFOFP.DOC
< prev
next >
Wrap
Text File
|
1994-09-04
|
8KB
|
178 lines
╓────────────────────────────────────────────────╖
║ SFOFP v2.4ß Zip/ARJ Old File Purge ║
║ For Updating Spitfire File Areas ║
║ Copyright (C) 1994 by Kevin Cummins ║
╙────────────────────────────────────────────────╜
What It Does:
─────────────
SFOFP is a utility designed to help sysops that need to manage their
growing file bases, by either MOVING or DELETING old files.
SFOFP determines the age of the ZIP/ARJ file by 'looking' at the files
INSIDE the archive. It DOES NOT use the external file date of the ZIP or ARJ
file itself as a basis for how old the file is. Instead, the date of the
NEWEST file inside the archive is used to compare against a date the sysop
enters at runtime.
If the file is determined to be OLDER than the sysop specified date, then
the file is either moved or deleted, depending on the choice the sysop made
at runtime. If the choice was to MOVE, then a directory called OLDFILES
will be created one level below the default directory and all files to be
moved will be relocated there, along with a copy of the file descriptions.
If the choice was to DELETE, then the file is simply deleted and the
description removed from SFFILES.BBS.
SFOFP also writes to a LOG file as it operates. All activities of SFOFP
will be sent to this file as well as the screen for viewing while
executing. SFOFP.LOG will be created or appended in the default directory.
Considerations:
───────────────
SFOFP never writes to your present SFFILES.BBS, for those of you who become
apprehensive about having your file listings messed with. Once processing
is complete, your old file is renamed to SFFILES.BAK and the new one takes
it place.
As of this writing, I have tested both PKZIP 1.1 and 2.04g with SFOFP. Both
seem to work fine, no matter which version the files were actually zipped
with.
As far as speed, this will not be the fastest utility you have ever run,
due the nature of the operations involved. SFOFP itself is plenty fast, but
since it makes calls to PKZIP/ARJ, well.......:)
Operation:
──────────
Execution is very simple. If you place SFOFP somewhere in your dos path,
you can then simply change to the directory you wish to run SFOFP on,
and type >SFOFP
It is mandatory that PKZIP.EXE is either in your dos path, or in the
current directory when SFOFP is executed if you choose not to use the /ZIP
parameter on the command line. This parameter was added as an attempted fix
for a few sysops having a problem with PKZIP execution within SFOFP.
Proper use of this parameter is /ZIP=PATH TO PKZIP.EXE.
Example: SFOFP /ZIP=C:\UTILS\PKZIP.EXE
The path to ARJ.EXE can be specified in the same manner:
Example: SFOFP /ARJ=C:\UTILS\ARJ.EXE
Command line parameters can be in any order, and can be combined with the
/MOVE, /DELETE, /DATE= parameters discussed below for registered users.
If you haven't specified a path to PKZIP and/or ARJ on the command line,
SFOFP will search for them in your Dos path, and verify them if found. If
found on the command line, paths will be verified before operation
continues.
ARJ is totally optional. SFOFP will work just fine if ARJ doesn't exist
anywhere in your computer. However, PKZIP *must* be found somewhere in your
computer even if your primary compression method is ARJ! SFOFP will simply
halt operation if it cannot find PKZIP!
SFOFP will first ask you if you wish to MOVE or DELETE. You will respond by
typing D, M, or Q to Quit.
Next, SFOFP will ask you to input the date you wish to use as a comparison
against the newest file in each archived file. Type in the number of the
month, day, and year you wish to use.
SFOFP will then process each file listed in SFFILES.BBS in the default
directory. Each ZIP/ARJ that does NOT have a file inside newer than the
date you specified will either be moved or deleted.
Batch Mode Operation: (Registered Version Only)
─────────────────────
Version 1.2+ is capable of running unattended in batch mode. SFOFP will
accept two command line parameters. They are:
/MOVE
/DELETE
/DATE=
You MUST specify either a /MOVE or /DELETE plus the /DATE= parameter to put
SFOFP into batch mode. SFOFP will not operate in batch mode with only one
of these parameters on the command line, as both are required.
Examples:
SFOFP /DELETE /DATE=01/01/90 This would delete all files older
than 01/01/90 in the current
directory, listed in SFFILES.BBS.
SFOFP /MOVE /DATE=01/01/90 This is the same as above, except
the files will be moved instead of
deleted, and their descriptions
saved to an oldfiles listing.
SFOFP /MOVE This is invalid as a batch mode
command. SFOFP would revert to
interactive mode.
SFOFP /DATE=01/01/92 Same results as the last example.
SFOFP /MOVE /DATE = 06/07/93 This would be invalid, only because
spaces are not allowed in the
command line parameters.
SFOFP /DELETE /DATE=3/1/90 This is also invalid. The date MUST
contain SIX integers. The preceding
zeros are mandatory.
Be sure to follow the examples exactly. Do not include spaces, and make
sure the date is in the format: mm/dd/yy. Be certain to include any
preceding Zeros in days or months less than 10, separated by a slash.
Suggestions:
────────────
I would suggest you copy one of your smaller file areas over to a test
directory, and run SFOFP on it. You might feel more secure running this the
first time on a dummy directory. Of course, backing up your file areas
regularly is always a good idea, and you might want to back up now if you
really feel uneasy.
If you are having problems executing SFOFP, and are not using the command
line parameter(s) to specify ZIP or ARJ paths, please do so. It seems this
may be necessary on some systems, but not on others. If you still have
problems, please contact the author.
Registration:
─────────────
All you need to make this copy registered is a registration key file, which
will also be good for any future version of SFOFP. The Registration fee
is only $5. Unregistered versions of SFOFP have a Shareware notice, and
will only process 10 files per run, in interactive mode. Other than that,
registered and non-registered versions do exactly the same job.
Creating your registration file only takes a couple seconds, and can be
ready for download on Crimson Cross, usually within 24 hours after
receiving your registration form.
A FORM.REG file is included for your convenience.
Distribution:
─────────────
SFOFP is released as Shareware. You are welcome to distribute it freely
in it's unmodified form. You may evaluate for a period of thirty days, and
are then required to register if you continue it's use.
Questions, Suggestion, or Comments can be directed to Kevin Cummins at:
Crimson Cross BBS RIME Network
618-253-3608 Node: #1390 CCBBS