GTKtalog User's Guide - Mon Sep 24 00:40:59 CEST 2001 | ||
---|---|---|
<<< Previous | Preferences | Next >>> |
Here you will find the list of supported VFS.
To enable or disable a particular VFS without deleting it, double click on the light. This toggles the color between green and red. Green light = enabled. Red light = disabled
To add a new VFS, click on the "Add" button. If a VFS was selected, the fields are already filled in.
File type . Select the mime type of this VFS. See the chapter called MIME Types for informations on MIME types.
Plugin to read the files contained in the VFS file . Browse or type directly the full path of the program associated with this VFS (for example /usr/bin/unzip for zip files) This program must take theVFSs file as last parameter and return the contained files on the standard output.
Plugin option . Options are passed to the plugin command line before the file name. These options always depend on the plugin program (and the functions it provides). The options usually let the user indicate the types of info to show on the standard output for each file : (like name, size, rights, dates ...).
Fields in plugin output (first one is 0) . It's your job to tell GTKtalog how to match the output of the plugin with the internal fields. GTKtalog assumes each line of the standard output to be a different file. Each of this file is usually composed of several fields. On screen they are separated by specific characters. Explicitly defining them, you can reference each field with an index starting from 0.
In the following line if the separator characters are ##, the index is :
-rw-r--r--##501/502##14362##Date : 08/22/2001##18:33:49##foo.dat/
Filling the different fields is then easy:
Separator characters . ##
Date field . Index of date field (here 3).
Date format . How is formated the date field. Here "Date : MM/DD/YYYY" or "+-abcdeMM2DDXYYYY" because GTKtalog only looks at the letters M D and Y. Any other letter is only a mean to say "move one char right". The date will probably fall in the two predefined combo box entries : YYYY-MM-DD or DD-MM-YYYY. The third entry : SSSSSSSSSS is a timestamp. GTKtalog can also read Unix timestamps that are the number of seconds since January 1st, 1970 at 00h00.
Size field . Index of the size field (here 2).
Name field . Index of the name field (here 5).
You should see the new VFS in the list of installed ones. If this is the case, GTKtalog is know able to scan the content of the VFS files matching the file type you specified.
The editing of a VFS is similar to addition except that the fields are already filled in.
In the same way you add or an edit, the removal of a VFS applies to all future scans. All the cataloged disks won't be affected in any way by the edition or deletion of a VFS.
<<< Previous | Home | Next >>> |
Scan mime type | Up | Information Plugins |