The recoll command has a number of useful command line options.
-c
specifies a non-default
configuration directory.configdir
-L
can be used to use a different
language for the GUI labels than the one which would be chosen according to the system
locale. Some translations are quite incomplete and you may prefer to see the English
messages, even if your machine is generally setup for, e.g. Spanish. Example:
lang
recoll -L en
-q
specifies a query to be run when
the program starts. It takes a single argument, which must be quoted if it contains white
space.query
-o/-l/-f/-a
specify the type of query. The default is to interpret
the -q
argument as a query language string. You can use these options to
interpret the argument as an Any Term
, File Name
or
All Terms
query instead.
The -t
option will tell the program to behave exactly like the
recollq command, printing the results to the standard output (terminal)
instead of starting a graphical window.