ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Find And Run Robot

Proof of Concept: using files to expose information to FARR

<< < (2/3) > >>

Nod5:
This looks very interesting Justice.  :Thmbsup: I wonder if it can solve a challenge I've been thinking on how to deal with for some time. Can I somehow use your technique to let FARR at the same time do both its regular searches over file names AND search in some text files that contain lists of file and directory names?

Specifically, I have started to archive some documents related to finished projects in one large zip archive per project. It is several thousands files, most pretty small, some themselves compressed archives. Putting all such files in one big archive speeds up system wide anti-virus scans a lot. I scan the files once and then calculate a MD5 hash for the compressed archive. As long as the hash is identical I thereafter have no need for scanning it again. Now, Kaspersky anti-virus (and many other anti-virus application I suspect) spiders through regular zip archives, so to avoid that I do a password restricted archive and then place that in an extra archive. (I use no compression on the archives so unpacking twice doesn't take much time and I don't need to access the archived files very often.) Now to the problem: the downside to this archiving solution is that the files become harder to search. So far, I've tried to solve that through a disc cataloging software. But ideally I'd like to be able to use FARR or some similar tool for these searches. If I for each such archive generate a .txt that lists all its directories and files, could your technique be used to include the contents from such .txt files in general FARR searches? I could easily make a script that generates such archive file lists in some format and then copy all such file list files into a specific directory if that makes the next step easier to implement in FARR.

justice:
Farr can only search filenames not inside files. However the find command prompt command can do what you want.
just create a list of textfiles like you said and then open a command prompt and type:

for %f in (*.txt) do find /i "something" %f

... to look for something inside all .txt files

mouser:
it would be very useful to have a generic plugin designed to search in simple file lists.
ie a file containing a list of other files
or a an xml file where farr is told which items should be searched for, etc.

i do have plans to write such a plugin if no one else does.

Nod5:
Ok Justice, now I read your text more closely and this time actually understood how this works (I hope)... I was fooled by the phrase "using text files to expose information to FARR ". The fact that they're textfiles isn't really important here, right? The important thing is rather that they're files. With names that FARR finds the regular way. :) So the technique wouldn't work for the scenario I sketched then, with thousands of files. But it is cool anyway. I'd like to test making a todo list handler with this when I have time (I'll put it on my todo list ;D).

The find command prompt command would work. And I could create an autohotkey frontend for that or maybe trigger it through FARR somehow. But I'd still really love to find a way to search both regular files and these file lists at the same time. So I'm hoping for the type of plugin mouser hints at here.

justice:
yeah you're right :) Fixed the title - sometimes my explanations can be overly complex :P

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version