TIP: Click on subject to list as thread! ANSI
echo: linux_bbs
to: Russell Tiedt
from: Michiel Broek
date: 2005-01-21 20:27:20
subject: Re: files.bbs

Hi Russell,

Russell Tiedt wrote to Michiel Broek:
RT> Hello Michiel.
RT> 
RT> 19 Jan 05 23:29, you wrote to me:
RT> 
RT>  RT>  DP>> If you cannot extract the file_id.diz's, how will you get
RT>  RT>> descriptions
RT>  RT>  DP>> of the files?  I'm assuming this is for a linux box?  It's
RT>  RT>  DP>> entirely possible that if the files are old, there is no
RT>  RT>  DP>> file_id.diz's in
RT>  RT>> them.
RT>  RT>>
RT>  RT>> Those that I have looked at, all have file_id.diz's, the *.exe and
RT>  RT>> *.com
RT> 
RT> 
RT>  MB> Those that have file_id.diz are simple, you don't need a files.bbs at
RT>  MB> all.
RT> 
RT>  MB> Use mbfile adopt in a script for a buch of files in a directory.
RT>  MB> Something like:
RT> 
RT>  MB> for file is `ls` ; do
RT>  MB>   mbfile adopt 12 $file "Dummy description"
RT>  MB> done
RT> 
RT> That should work for the *.zip files, and possibly the *.exe and *.com 
RT> files
RT> too. Noticed that mbfile doesn't like wildcards, or do they need to be 
RT> escaped
RT> one or other way?

Mbfile needs the full filenames only. But that's what the script will do,
the $file will have the full filename.

I see a spelling error in the example:

for file in `ls` ; do

should be the right one.


RT>  MB> (I should have added this to the faq)
RT> 
RT> Might help someone else ....
RT> 
RT> Will try,

Tell me if it goes well, then I will add this into the faq.

RT> 

    Greetings, Michiel Broek

Email:   mbse{at}mbse.dds.nl
Fidonet: Michiel Broek at 2:280/2802

... Microsoft Windows:  The first virus with Mouse Support

--- MBSE BBS v0.71.2 (GNU/Linux-i386)
* Origin: MBSE Linux BBS. Made in the Netherlands (2:280/2802)
SEEN-BY: 633/267 270
@PATH: 280/2802 5003 379/1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.