From be82b565acfd5b30b205f13557250108b19f4bd0 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Mon, 31 Jan 2005 12:40:02 +0000 Subject: [PATCH] Updated the FAQ --- ChangeLog | 3 +++ html/faq.html | 56 +++++++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 57 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d11d37a7..f1cfe95a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -16,6 +16,9 @@ v0.71.2 16-Jan-2005 Does now send the right mime headers recognised by new clients. Fixed compile problem with some compilers. + html: + Added batch file upload written by Russell Tiedt to the faq. + v0.71.1 28-Nov-2004 - 16-Jan-2005 diff --git a/html/faq.html b/html/faq.html index c04ddc9b..18da116e 100644 --- a/html/faq.html +++ b/html/faq.html @@ -16,7 +16,7 @@

MBSE BBS FAQ and Howto.

-
Last updated 14-Sep-2004
+
Last updated 31-Jan-2005
 Authors: P.E. Kimble aka King Kimerud            kimerud@bayhaus.org
@@ -71,6 +71,7 @@ MBSE up & running.
   
  • How do I to set up MBSE for ISDN?
  • How do I use GoldED together with MBSE?
  • How do I use MsgEd together with MBSE?
  • +
  • How do I adopt a directory full of files to the bbs?
  • Doors Setup

    @@ -887,7 +888,58 @@ INCLUDE /opt/mbse/etc/golded.inc Up - + + + + + + + + + + + + +
    Q 4.4 How do I adopt (batch upload) a directory full of files to my BBS'es file base?
    A 4.4Written by: Russell Tiedt. +

    + Easy using the script below, provided the file archives (*.zip, *.rar, *.arc, + *.lha, etc.) all contain "file_id.diz" files. +

    + Sort the files in tempory directries that correspond to the filebase area, ie. + /dos4 (DOS files - filebase area no 4) +

    + Then copy the script below to the directory, edit the number of the filebase + that the files must be batch uploaded to, to the number that corresponds to + the required filebase. (On my BBS system the DOS file section corresponds to + the number 4, hence the name above for the tempory directory used above) I + copy all files to be batch uploaded to the DOS file section, to the /dos4 + directory, copy the script below to the /dos4 directory, edit the script so + that it uploads to the DOS filebase (4) and run it. +

    +for file in `ls` ; do
    +  mbfile adopt 4 $file "Dummy description"
    +done
    +
    + NOTE: the 4 in the script above, indicates the filebase/filearea that the + files will be batch uploaded to. + + For archives that have/contain a file_id.diz file, "Dummy description" will be + replaced with the content of the "file_id.diz file of that archive, if no + file_id.diz exists in the archive, then "Dummy descrition" will appear in the + description field of the files.bbs file for the file area it gets uploaded to. +

    + If the files don't have/contain file_id.diz files, then create and insert in + the archive, a file_id.diz file having a suitable description of the content + of the archive, then follow the instructions above. +

    + For *.exe and *.com files, as well as other files that are not archived ie. in + *.zip/*.rar/*.arc/*.lha/*.lhz/*.zoo etc. Create a file_id.diz file for the + file, then make an archive using the archiver of your choice containing the + file and the file_id.diz you created for it, then follow the instructions + above. +

    +Up +


    5. Doors setup.