| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | files.bbs |
Hello Michiel. 21 Jan 05 20:27, you wrote to me: RT> MB>> Use mbfile adopt in a script for a buch of files in a RT> MB>> directory. 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 RT>> *.com files too. Noticed that mbfile doesn't like wildcards, or do RT>> they need to be escaped one or other way? MB> Mbfile needs the full filenames only. But that's what the script will MB> do, the $file will have the full filename. Understood .... MB> I see a spelling error in the example: MB> for file in `ls` ; do MB> should be the right one. Yep, it has been running for 8-9 minutes so far .... RT> MB>> (I should have added this to the faq) RT>> RT>> Might help someone else .... RT>> RT>> Will try, MB> Tell me if it goes well, then I will add this into the faq. Like I said above, it is still running, and I am reasonably happy with it, is not a total solution, but it does the donkey work. How will it handle dupefiles, exit on dupe, skip etc.? Okay, worked a treat, got 120 files imported, unfortunately, about 20 or so don't have file_id.diz so I will have to do those manually ... Like I said, I am reasonably happy ... Now I know I can move them into my filebase easy enough, will check each file, add a file_id.diz if missing, then move it to a temp dir and "adopt" it. :-) MB> ... Microsoft Windows: The first virus with Mouse Support Nice .... 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™.