Old 08-18-2004, 11:14 AM   #1
elchican_2
Junior Member
 
Join Date: Aug 2004
Posts: 4
Default ioA Site Search

I like the search function of ioA. Especially reading from the *.log file rather than murder my hard drives every time it searches. I just have a question about the results. When i have it scan dir only, it obviously doesn't pick up files within a folder that doesn't have the artist name in it. But this option returns exactly what i want, just the directory and just one time. When i have ioA search dir + files, it does what i want, by picking up all files with the search term, rather than just the dirs. But the output in this mode is a bit much. By default, it lists every file with every full path. The output part of my my ioA.conf looks like this.

#Search_Output_Match = " %vfs/%target "
Search_Output_Match = " %vfs "

So i have it halfway there, by just displaying the directory, rather than the full path, with filename and all its just the directory that the file is in. Only problem, is that if there are 15 files in the folder with the search term in them, the output will repeat the output.

ex:

site search bien425

/SCHOOL/BIOMED/Homework1
/SCHOOL/BIOMED/Homework1
/SCHOOL/BIOMED/Homework1
/SCHOOL/BIOMED/Homework1
/SCHOOL/BIOMED/Homework1

I dont need it to tell me that each file is in there, just that there is at least one file in it that matches bien425. In raidenftpd, the dupe function works exactly like i want it. But i heart ioFTPD and would like to know if this type of search/dupe is available.


here is the search portion of ioA.cfg if it will help

[Search]
Search_Use_Star = 0
Search_Minimum_Length = 3
Search_Output_Too_Short = " Searchstring must be %characters characters or more"
Search_Output_Matches = "\n There are %number matches to your search criteria"
Search_Output_No_Matches = " Sorry no matches to your search"
#Search_Output_Match = " %vfs/%target "
Search_Output_Match = " %vfs "
Search_Path_0 = d:\ioFTPD\site|/|4
Search_Path_1 = k:\|/SCHOOL|
#Search_Exclude_Path_0 = d:\ioFTPD\site\pre\*
#Search_Exclude_Path_1 = d:\ioFTPD\site\admin\*
Search_Exclude_Show_0 = *complete*
Search_Exclude_Show_1 = *incomplete*
Search_Include_Files = 1
Search_File_Filter_0 = .*
Search_File_Filter_1 = *.nfo
Search_File_Filter_2 = .message
Search_Log_File = d:\ioFTPD\scripts\ioA\search.log
Search_Using_Log = 1



Thanks,

el
elchican_2 is offline   Reply With Quote
Old 08-18-2004, 01:58 PM   #2
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
Default

Edit 2

After recheck on how it works when searching with log or without I can only say it will continue to be this way. If you search for generic things then you get many results. I will not filter them just because they are in same location.


Note1:
Please post IoA issues in "WarC's scripts" next time.

WarC is offline   Reply With Quote
Old 08-18-2004, 10:24 PM   #3
elchican_2
Junior Member
 
Join Date: Aug 2004
Posts: 4
Default sorry

sorry about the wrong forum section....

and i guess you're right about what i'm searching for.
i'll just search for a more detailed file.

thanks for the prompt reply


Andy G
elchican_2 is offline   Reply With Quote
Reply

Tags
/school/biomed/homework1, file, files, output, search

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:06 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)