Small fixes for mbfile

This commit is contained in:
Michiel Broek
2002-01-26 21:46:37 +00:00
parent 1ef050a583
commit 2e4eb31b7e
8 changed files with 38 additions and 18 deletions

View File

@@ -12,7 +12,7 @@
</HEAD>
<BODY>
<BLOCKQUOTE>
<h5>Last update 25-Jan-2002</h5>
<h5>Last update 26-Jan-2002</h5>
<P>
<H1>mbfile - File database maintenance program.</H1>
@@ -37,6 +37,8 @@ from the crontab. example:
<P><pre>
30 05 * * * export MBSE_ROOT=/opt/mbse; /opt/mbse/bin/mbfile kill pack check index -quiet
</pre>
Other functions in <b>mbfile</b> are meant to do manual maintenance such as
adding, deleting or moving files.
<P>&nbsp;<P>
<H3>Environment.</H3>
@@ -75,23 +77,36 @@ The file is not removed until you run <strong>mbfile pack</strong>.
<P>
<code><strong>mbfile</strong> import &lt;area&gt;</code>
Import files to the given area using files.bbs descriptions.
You need to be in the area where the files are stored.
There must also be the files.bbs file present, if not then in the area setup
you must enter the full filename and path where the files.bbs is. This may
be needed for some CD-roms where the files.bbs is not in the same directory
as where the files are. The files are not checked for FILE_ID.DIZ inside the
Import files to the given area using files.bbs descriptions. There are two
possibilities, import from CD-rom or just from a temporary directory.
<UL>
<LI>Import from a temporary directory: Put the files to import there including the
files.bbs file.
<LI>Import from CD-rom: Go into the directory on the CD
where the files are. If the files.bbs is not in the same directory,
you must enter the full filename and path where the files.bbs is with
<b>mbsetup</b> 8.4.area.6.
</UL>
To start the import, type <code>mbfile import area</code> where area is the
number of the destination filearea.
The files are not checked for FILE_ID.DIZ inside the
archives. If you have virus scanners defined, the files are checked for
virussed before they are added the the bbs.
virusses before they are added the the bbs. If you don't want these fresh files
to be announced, add the <code>-announce</code> option on the commandline. This
may be a good idea if you migrate from another bbs system.
<P>
<code><strong>mbfile</strong> index</code>
Create fast filerequest index for the <strong>mbcico</strong> filerequest
processor. In each directory with the downloadable files is also a
<strong>files.bbs</strong> file written is msdos cr/lf format. This includes a
<strong>files.bbs</strong> file written in msdos cr/lf format. This includes a
download counter.
Also, if defined, in each available download area for ftp/http, index files are
created, starting at the ftp pub directory.
created, starting at the ftp pub directory. If the area contains gif or jpg
images, thumbnails are created using the <b>convert</b> program if you have that
installed. The thumbnails have the same filenames as the original images, only
they start with a dot. The convert command is defined with <b>mbsetup</b> menu
1.19.8, if you don't have it or don't want thumbnails, make that entry empty.
<P>
<code><strong>mbfile</strong> kill</code>