[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PBCatSearch



At  2:13 7/30/93 +0000, Andrew LM Shalit wrote:
>Has anyone written a Lisp wrapper for PBCatSearch?  I'm looking for an
>easy way to make queries about a volume, for example, "give me all the
>files that contain "foo" or "give me all the files that have been modified
>in the last twenty four hours" or "give me all the files that have creator
>'MSWD'".
>
>I realize that I could just use the Common Lisp DIRECTORY function and
>apply
>various filters to the result, but PBCatSearch would be much faster.
I'm not sure exactly what you want to do, but you can apply a filter during
the directory operation using the :TEST keyword argument, rather than collecting
the result and then applying the filters, if that helps.
>
>Thanks in advance for any help.
>
>  -Andrew
>   alms@cambridge.apple.com