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

Hello Michiel.

19 Jan 05 23:29, you wrote to me:

 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
 RT>  DP>> entirely possible that if the files are old, there is no
 RT>  DP>> file_id.diz's in
 RT>> them.
 RT>>
 RT>> Those that I have looked at, all have file_id.diz's, the *.exe and
 RT>> *.com


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

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

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

That should work for the *.zip files, and possibly the *.exe and *.com files 
too. Noticed that mbfile doesn't like wildcards, or do they need to be escaped 
one or other way?

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

Noted ...

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

Okay ...

 MB> (I should have added this to the faq)

Might help someone else ....

Will try,

Thanks,

Russell

--- GoldED+/LNX 1.1.4.7
* Origin: Rusty's BBS - Bloemfontein, Free State, South Africa (5:7105/1)
SEEN-BY: 633/267 270
@PATH: 7105/1 140/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™.