omega said:
I do have Minitrue hanging around, downloaded after seeing it
recommended in batch groups and other places, and have browsed
over its help file a time or two.
What would interest me, if I could talk you into it, would be a
description of a couple of the ways you've made usage of it. (Type
of thing I much like reading in ACF: Stories of software in action
for specific projects.)
ABOUT MINITRUE
Here are two simple examples of the use of minitrue:
Essentially one liner commands which do *not* replace anything at
all, just display and find.
These are not exactly rocket science, but I do use them a lot.
This is far easier for me using a dual pane file manager with a
cmdline at the bottom. Eg. "findall jpgresize " will search in
the current directory against a list of filenames or 4dos
descript.ions, or .txt files [or whatever] and return quite a list
quickly. In a way I am making an index which can be quite large
and searching it quickly and conveniently.
I also may use "instant file name search " from sowsoft.com from
time to time. It searches all my drives indexed from c to h.
The updating function is quick, the index file , although gigantic
is more compact than some alternatives.
Note that I do not let Minitrue start going through a big list of
..zip files for example, because that would be rather tedious. I
specify a few index files.
I use the same findall bat function when looking for a particular
quotation from my extensive collection of books in various formats.
More often a quick search for author or title will get me to the
location with no trouble.
In addition I have a large collection of .htm files grabbed from
the web and put into topics that interest me. They have all been
stripped of most of the damn java &c so they display directly
without calling the internet. I often find content which I was
unaware of having. The sign of a good library in my books.
------------------recur bat--------------------
echo off
echo Recurse will look in the current drive and all subdirectories
echo to find the query string which you enter.
echo a string with more than one word "must be quoted".
echo Recurse requires Minitrue [mtr] in your path. It also requires
echo a file called "3" which contains a list of suffixes you wish
to
echo search. For example *.txt *.ion *.me *.bbs *.mbx etc ,
echo with each on one line. MM 12/02 freeware
:modified to show only whole words Apr/25/03
:use recur.bat to search in subdirectories
:and not begin at the rootlevel
echo --==== Your Results ====--
@mtr -k -r -w %1 -- @3
:: added .mbx 2:09 PM 3/24/03 to search eudora mailboxes
:: added 3 lines intro.
::
---------------------findall bat-----------------------
@echo off
echo Findall requires Minitrue [mtr] in the dos path .
echo It also requires a file named "3" containing the suffixes
echo you want to search eg: *.txt *.ion *.bbs *.me
echo One to each line.
echo You must add a single word for a string value,
echo or a "quoted expression" as an argument. MM 12/02 freeware
:modified to find whole words only with -w Apr25/03
:use recurse.bat to find files and find in files recursively
:findall searches for "string contents" in files and filenames
lists.
echo --======== Your Results =======--
@mtr -k -w %1 -- @3