File: FAQ.Debian

package info (click to toggle)
swish%2B%2B 6.1.5-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 2,904 kB
  • sloc: ansic: 11,936; lisp: 804; sh: 629; perl: 366; makefile: 42
file content (35 lines) | stat: -rw-r--r-- 908 bytes parent folder | download | duplicates (8)
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
34
35
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.