TIP: Click on subject to list as thread! ANSI
echo: linux_bbs
to: Russell Tiedt
from: Michiel Broek
date: 2005-01-19 23:29:32
subject: Re: files.bbs

Hi Russell,

Russell Tiedt wrote to Darryl Perry:

RT> 
RT>  DP> If you cannot extract the file_id.diz's, how will you get 
RT> descriptions
RT>  DP> of the files?  I'm assuming this is for a linux box?  It's entirely
RT>  DP> possible that if the files are old, there is no file_id.diz's in 
RT> them.
RT> 
RT> Those that I have looked at, all have file_id.diz's, the *.exe and *.com 


Those that have file_id.diz are simple, you don't need a files.bbs at all.

Use mbfile adopt in a script for a buch of files in a directory.
Something like:

for file is `ls` ; do
  mbfile adopt 12 $file "Dummy description"
done

You need to copy the files to a temp location because they will be removed
during the import and you must be in that directory when you call the
script. mbfile adopt will override the description on the commandline if a
file_id.diz is present inside the archive.

If you are absolutly sure the files are virusfree, you can also add -v to
the commandline to speed things up.

(I should have added this to the faq)







RT> 

    Greetings, Michiel Broek

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

... Something is rotten in the state of confusion.

--- 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™.