home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Crawly Crypt Collection 1
/
crawlyvol1.bin
/
bbs
/
oldfile6
/
oldfile.doc
< prev
next >
Wrap
Text File
|
1993-05-01
|
4KB
|
125 lines
OLDFILE ~ Programmed by Paul Baker @ 100:1011/0 , 2:440/108 , 90:102/140
, 51:502/100
Version 5 The Tavern BBS 44-(0)81 445 6514
Another Tavern BBS utility, some of the other utilities from these stables
ACCESS - Turbo V2 User access editor
ACHECK - AREAS.BBS , DAREAS.BBS Uplink controller
FILEBASE - File database/freq list generator (Turbo V2)
JEKSHELL - Jekyll / Turbo V2 Shell
NDLISTER - FIDO compatable nodelist -> Text file comverter
PACKFIX - Turbo V2 message index fixer (prepack bug)
PAGE - Chat program for V2 of Turbo
PREPACK - Prepacked mail controller
PRIG - IGS text file Processor
SORTFILE - Sorts .FIL files into date or name order
STATSGEN - BBS Stats generator
VTMENU - VT52 Menu Generator
What is Oldfile ?
-----------------
Oldfile is a program that will search your .FIL files for any downloads that
either haven't been downloaded within a specified number of days or for any
files that have never been downloaded and that were uploaded over that
number of days ago.
It will then either display the information to the screen, to a file or
move the file itself into a holding folder ready for you to put on floppy
disk and then mark the file as Offline in the .FIL .
Oldfile will now also let you automatically restore off-line files.
Options
-------
It accepts 3 Parameters MOVE , RESTORE and REPORT and they use the
following format.
REPORT
------
This puts the full path and filename together with the number of days in a
text file.
(Number of days) REPORT (Full path and filename of report file) (minimum K
to report)
E.G. 365 REPORT e:\turbo\oldfiles.txt 50
MOVE
----
This moves old files into a holding folder (You will need to create one)
and marks the files as off-line , if there isn't enough free space on the
destination drive the file will not be moved.
(Number of Days) MOVE (Full Path to store files) (K length to ignore)
E.G. 365 MOVE g:\oldfiles\ 50
will move any files which haven't been accessed in 365 days into the
holding folder g:\oldfiles\ as long as they are also over 50K in length.
RESTORE
-------
IF a user requests a file that has been moved offline then this will copy
the offline file back into the BBS , update the date uploaded and date
last downloaded to the current date and remove the file off-line flag from
the .FIL entry.
the file/files need to be put in a folder and the command used as follows
RESTORE (path of folder containing the files to be restored)
eg RESTORE h:\restore\
Oldfile will then search your .FIL files for a matching filename and then
move it into the appropriate folder.
If there are no files in the folder , OLDFILE will exit immediately , making
it possible to run RESTORE once a day in a batch file.
Passing ? as a parameter will list a help screen.
Bypassing Areas
---------------
If you have particular areas you want to Bypass regardless of the length of
time since the files were last downloaded then create a text file called
OLDFILE.BYP , this is a straight ASCII list of the Download areas you want
bypassed.
e.g.
ACCS
GAMES
BBS
**************************
*UPDATE - UPDATE - UPDATE*
**************************
I recently discovered that if I used the RESTORE function and the file to
be restored had the same name as an existing archive OLDFILE would attempt
to restore the file to the wrong area.
OLDFILE will now make sure the file is OFFLINE and compare the file size
in the .FIL with the actual archive/program size , if both of these
condidtions are true, ONLY then will the file be restored.
IMPORTANT
---------
As is usual , I accept no responsibilty for any damage either directly or
indirectly caused by this program , you use it entirely at your own risk.
Saying this I have had it set up running in a batch file once a day for the
the last year and haven't had any problems.