/usr/share/doc/swish++/FAQ.Debian is in swish++ 6.1.5-2.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | 1. Indexing ro media or directories where you don't have
write permission
>> Package: swish++ Version: 5.7-1 Severity: wishlist
>> Hello, It'd be really nice if index++ could do unzipping
>> internally (zlib?) instead of temporarily making an
>> unzipped copy in the location of the compressed files,
>> using the filter FilterFile *.gz gunzip -c %f > @%F
>> Or is there another solution for indexing a read-only
>> directory (or medium eg. CD-ROM) of compressed files?
> Good question!
> Yes there is another way: check man swish++.conf.
> For example (swish++.conf):
> FilterFile *.gz gunzip -c %f > @/tmp/%B
> So you could do, for example:
> index++ -v3 -i ~/tmp/index_readonly_media -c
/path/to/your/swish++.conf /ro_or_dir_wo_write_permission
2. Indexing files with spaces in the file or path name
It works and there are FilterFile examples in the example swish++.conf.
|