Tabele
I atribûts e lis interogazions a son funzions clâf di Haiku. Ancje se i atribûts a son utii par lôr cont, par esempli par mostrâ informazions adizionâls suntun file, par fâur une ricercje, al covente che a sedin intabelâts. Duncje a vegnin metûts intune tabele di ricercje, cussì di rindi lis interogazions velocis come une saete.
La tabele e fâs part dal filesystem e e je tignude par ogni volum/partizion separade.
Comants pe tabele tal Terminâl
A'ndi son diviers di comants par gjestî la tabele:
- lsindex - Al mostre i atribûts metûts in tabele sul volum/partizion atuâl.
Intes impostazions predefinidis, chescj a son i atribûts metûts in tabele:
~ ->lsindex BEOS:APP_SIG MAIL:account MAIL:cc MAIL:chain MAIL:draft MAIL:flags MAIL:from MAIL:name MAIL:pending_chain MAIL:priority MAIL:reply MAIL:status MAIL:subject MAIL:thread MAIL:to MAIL:when META:address META:city META:company META:country META:email META:fax META:group META:hphone META:name META:nickname META:state META:url META:wphone META:zip _signature _status _trk/qrylastchange _trk/recentQuery be:deskbar_item_status last_modified name size
- mkindex - Al zonte un atribût te tabele di un volum/partizion.
Usage: mkindex [options] <attribute> Creates a new index for the specified attribute. -d, --volume=PATH a path on the volume to which the index will be added, defaults to current volume. -t, --type=TYPE the type of the attribute being indexed. One of "int", "llong", "string", "float", or "double". Defaults to "string". --copy-from path to volume to copy the indexes from. -v, --verbose print information about the index being created
Dome i file gnûfs cun chel atribût a jentrin in automatic te tabele!
Si à di zontâ a man i file esistents, fasint une lôr copie e podopo eliminant i origjinâls. In alternative tu puedis doprâ il comant reindex.
- reindex - Al met i atribûts dai file esistents inte apene creade tabele dal volum/partizion .
Usage: reindex [-rvf] attr <list of filenames and/or directories> -r enter directories recursively -v verbose output -f create/update all indices from the source volume, "attr" is the path to the source volume
- rmindex - Al gjave un atribût de tabele di un volum/partizion.
Usage: rmindex [OPTION]... INDEX_NAME Removes the index named INDEX_NAME from a disk volume. Once this has been done, it will no longer be possible to use the query system to search for files with the INDEX_NAME attribute. -d, --volume=PATH a path on the volume from which the index will be removed -h, --help display this help and exit -p, --pattern INDEX_NAME is a pattern -v, --verbose print information about the index being removed INDEX_NAME is the name of a file attribute. If no volume is specified, the volume of the current directory is assumed.