Skip to main content.
home | support | download

Back to List Archive

Re: Indexing pdf and doc

From: Bill Moseley <moseley(at)>
Date: Tue Dec 21 2004 - 03:21:36 GMT
Looking at this again:

On Mon, Dec 20, 2004 at 10:07:07AM -0800, Smith, Sarah wrote:
> *FileFilter .pdf /Program Files/SWISH-E/lib/swish-e/pdftotext.exe "%p -"

Yes that should result in:

$ swish-e -c c -i T5420.pdf 
err: FileFilter: requires "extension" "filter" "[options]"


 FileFilter .pdf '/Program Files/SWISH-E/lib/swish-e/pdftotext.exe' '%p -'

results in (on linux)

$ swish-e -c c -i T5420.pdf -v0
sh: /Program: No such file or directory

So, yes, you do need to sets of quotes, and around %p, too.

FileFilter .pdf '"/Program Files/SWISH-E/lib/swish-e/pdftotext.exe"' '"%p -"'

If not on Windows swap those quotes so the shell sees single quotes.

And, no swish doesn't search for the program first, so you need to
specify the full path or have the program in your PATH.

Bill Moseley

Unsubscribe from or help with the swish-e list:

Help with Swish-e:
Received on Mon Dec 20 19:21:43 2004